WordPress.org

Make WordPress Core

Ticket #32237: 32237.2.patch

File 32237.2.patch, 502 bytes (added by tyxla, 3 years ago)

Added braces to conform to the coding standards

  • src/wp-admin/includes/nav-menu.php

     
    620620                'pad_counts' => false,
    621621        );
    622622
     623        if ( isset( $taxonomy['args']->_default_query ) ) {
     624                $args = array_merge( $args, (array) $taxonomy['args']->_default_query );
     625        }
     626
    623627        $terms = get_terms( $taxonomy_name, $args );
    624628
    625629        if ( ! $terms || is_wp_error($terms) ) {