From 44cb0591a1b6e1dde8eec46d27216d4f72cc28d4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 26 Nov 2010 21:38:38 +0000 Subject: [PATCH] Revert [16359]. Deal with it in 3.2. see #15361 git-svn-id: https://develop.svn.wordpress.org/trunk@16597 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/ms-blogs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index b24a3865c5..abdd55e40e 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -500,7 +500,7 @@ function switch_to_blog( $new_blog, $validate = false ) { else $global_groups = false; - wp_start_object_cache(); + wp_cache_init(); if ( function_exists('wp_cache_add_global_groups') ) { if ( is_array( $global_groups ) ) wp_cache_add_global_groups( $global_groups ); @@ -564,7 +564,7 @@ function restore_current_blog() { else $global_groups = false; - wp_start_object_cache(); + wp_cache_init(); if ( function_exists('wp_cache_add_global_groups') ) { if ( is_array( $global_groups ) ) wp_cache_add_global_groups( $global_groups );