Changeset 18038
- Timestamp:
- 05/25/2011 04:46:40 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/menu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/menu.php
r18034 r18038 105 105 // If there is only one submenu and it is has same destination as the parent, 106 106 // remove the submenu. 107 if ( 1 == count ( $submenu[$data[2]] ) ) {107 if ( ! empty( $submenu[$data[2]] ) && 1 == count ( $submenu[$data[2]] ) ) { 108 108 $subs = $submenu[$data[2]]; 109 109 $first_sub = array_shift($subs);
Note: See TracChangeset
for help on using the changeset viewer.