WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (17 months ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-nav-menu-widget.php

    r42343 r45590  
    121121        $menus = wp_get_nav_menus();
    122122
    123         $empty_menus_style = $not_empty_menus_style = '';
     123        $empty_menus_style     = '';
     124        $not_empty_menus_style = '';
    124125        if ( empty( $menus ) ) {
    125126            $empty_menus_style = ' style="display:none" ';
Note: See TracChangeset for help on using the changeset viewer.