diff options
-rw-r--r-- | wp-includes/wpmu-functions.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php index f766dfb..43b7cde 100644 --- a/wp-includes/wpmu-functions.php +++ b/wp-includes/wpmu-functions.php @@ -169,12 +169,10 @@ function get_blog_details( $id, $all = true ) { return false; if( $all == true ) { - switch_to_blog($id); $wpdb->hide_errors(); $details->blogname = get_blog_option($id, 'blogname'); $details->siteurl = get_blog_option($id, 'siteurl'); $details->post_count = get_blog_option($id, 'post_count'); - restore_current_blog(); $wpdb->show_errors(); wp_cache_set( $id, serialize( $details ), 'blog-details' ); |