diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 6b681692e6..4f6c274747 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -759,9 +759,11 @@ function wp_start_object_cache() { 'blog_meta', 'global-posts', 'networks', + 'network-queries', 'sites', 'site-details', 'site-options', + 'site-queries', 'site-transient', 'rss', 'users', diff --git a/src/wp-includes/ms-blogs.php b/src/wp-includes/ms-blogs.php index c5ef1c157c..0f5ff5d510 100644 --- a/src/wp-includes/ms-blogs.php +++ b/src/wp-includes/ms-blogs.php @@ -560,9 +560,11 @@ function switch_to_blog( $new_blog_id, $deprecated = null ) { 'blog_meta', 'global-posts', 'networks', + 'network-queries', 'sites', 'site-details', 'site-options', + 'site-queries', 'site-transient', 'rss', 'users', @@ -651,9 +653,11 @@ function restore_current_blog() { 'blog_meta', 'global-posts', 'networks', + 'network-queries', 'sites', 'site-details', 'site-options', + 'site-queries', 'site-transient', 'rss', 'users', diff --git a/tests/phpunit/includes/abstract-testcase.php b/tests/phpunit/includes/abstract-testcase.php index 9c189bd96d..2c1b4a1d58 100644 --- a/tests/phpunit/includes/abstract-testcase.php +++ b/tests/phpunit/includes/abstract-testcase.php @@ -399,9 +399,11 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Adapter_TestCase { 'blog_meta', 'global-posts', 'networks', + 'network-queries', 'sites', 'site-details', 'site-options', + 'site-queries', 'site-transient', 'rss', 'users',