Make WordPress Core


Ignore:
Timestamp:
02/07/2015 05:56:18 PM (10 years ago)
Author:
SergeyBiryukov
Message:

In _wp_menu_output(), $submenu_items is an array and should be initialized as such.

props ipm-frommen.
fixes #31257.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/menu-header.php

    r31106 r31364  
    6161        }
    6262
    63         $submenu_items = false;
     63        $submenu_items = array();
    6464        if ( ! empty( $submenu[$item[2]] ) ) {
    6565            $class[] = 'wp-has-submenu';
Note: See TracChangeset for help on using the changeset viewer.