Changeset 18563 for trunk/wp-includes/class-wp-admin-bar.php
- Timestamp:
- 08/18/2011 06:16:57 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-admin-bar.php
r18488 r18563 165 165 foreach( $menu as $id => $menu_item ) { 166 166 if ( $parent_id == $id ) { 167 if ( ! isset( $menu->{$parent_id}['children'] ) ) 168 $menu->{$parent_id}['children'] = new stdClass; 167 169 $menu->{$parent_id}['children']->{$child['id']} = $child; 168 170 $child = null;
Note: See TracChangeset
for help on using the changeset viewer.