Ticket #18049: diff
File diff, 1.4 KB (added by , 13 years ago) |
---|
-
wp-includes/user.php
657 657 if ( !is_multisite() ) { 658 658 $blog_id = get_current_blog_id(); 659 659 $blogs = array(); 660 $blogs[ $blog_id ] = (object) $blogs[ $blog_id ]; 660 661 $blogs[ $blog_id ]->userblog_id = $blog_id; 661 662 $blogs[ $blog_id ]->blogname = get_option('blogname'); 662 663 $blogs[ $blog_id ]->domain = ''; -
wp-includes/class-wp-admin-bar.php
164 164 function add_node( $parent_id, &$menu, $child ) { 165 165 foreach( $menu as $id => $menu_item ) { 166 166 if ( $parent_id == $id ) { 167 $menu->{$parent_id}['children'] = (object) $menu->{$parent_id}['children']; 167 168 $menu->{$parent_id}['children']->{$child['id']} = $child; 168 169 $child = null; 169 170 return true; -
wp-admin/includes/theme.php
20 20 delete_option( 'current_theme' ); 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']; 25 26 $ct->version = $themes[$current_theme]['Version'];