Changeset 18563
- Timestamp:
- 08/18/2011 06:16:57 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme.php
r18327 r18563 21 21 $current_theme = get_current_theme(); 22 22 } 23 $ct = new stdClass; 23 24 $ct->name = $current_theme; 24 25 $ct->title = $themes[$current_theme]['Title']; -
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.