mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Cache API: Make network-queries
and site-queries
global cache groups.
Fixes a bug introduced in [55526]. The cache groups `network-queries` and `site-queries` store query results for network and site. These are network level data and should be stored in a global cache group. Props spacedmonkey, tillkruess, flixos90. See #57625. git-svn-id: https://develop.svn.wordpress.org/trunk@55537 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
82cd434194
commit
c421c7ead6
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user