Coding Standards: Reorder global cache groups alphabetically for some consistency.

Follow-up to [53823], [53824].

See #55647.
Built from https://develop.svn.wordpress.org/trunk@53832


git-svn-id: http://core.svn.wordpress.org/trunk@53391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-08-04 16:29:10 +00:00
parent e88c783a0d
commit 215a5fd1b7
3 changed files with 37 additions and 37 deletions

View File

@ -733,23 +733,23 @@ function wp_start_object_cache() {
if ( function_exists( 'wp_cache_add_global_groups' ) ) {
wp_cache_add_global_groups(
array(
'users',
'userlogins',
'usermeta',
'user_meta',
'useremail',
'userslugs',
'site-transient',
'site-options',
'blog-lookup',
'blog-details',
'rss',
'global-posts',
'blog-id-cache',
'blog-lookup',
'blog_meta',
'global-posts',
'networks',
'sites',
'site-details',
'blog_meta',
'site-options',
'site-transient',
'rss',
'users',
'useremail',
'userlogins',
'usermeta',
'user_meta',
'userslugs',
)
);

View File

@ -554,23 +554,23 @@ function switch_to_blog( $new_blog_id, $deprecated = null ) {
} else {
wp_cache_add_global_groups(
array(
'users',
'userlogins',
'usermeta',
'user_meta',
'useremail',
'userslugs',
'site-transient',
'site-options',
'blog-lookup',
'blog-details',
'rss',
'global-posts',
'blog-id-cache',
'blog-lookup',
'blog_meta',
'global-posts',
'networks',
'sites',
'site-details',
'blog_meta',
'site-options',
'site-transient',
'rss',
'users',
'useremail',
'userlogins',
'usermeta',
'user_meta',
'userslugs',
)
);
}
@ -645,23 +645,23 @@ function restore_current_blog() {
} else {
wp_cache_add_global_groups(
array(
'users',
'userlogins',
'usermeta',
'user_meta',
'useremail',
'userslugs',
'site-transient',
'site-options',
'blog-lookup',
'blog-details',
'rss',
'global-posts',
'blog-id-cache',
'blog-lookup',
'blog_meta',
'global-posts',
'networks',
'sites',
'site-details',
'blog_meta',
'site-options',
'site-transient',
'rss',
'users',
'useremail',
'userlogins',
'usermeta',
'user_meta',
'userslugs',
)
);
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53831';
$wp_version = '6.1-alpha-53832';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.