Ticket #16080: admin-bar-class-php4-compat.diff
File admin-bar-class-php4-compat.diff, 520 bytes (added by , 14 years ago) |
---|
-
public/wp-includes/class-wp-admin-bar.php
157 157 } 158 158 159 159 function add_node( $parent_id, &$menu, $child ) { 160 foreach( $menu as $id => &$menu_item ) {160 foreach( $menu as $id => $menu_item ) { 161 161 if ( $parent_id == $id ) { 162 162 $menu->{$parent_id}['children']->{$child['id']} = $child; 163 163 $child = null;