Make WordPress Core


Ignore:
Timestamp:
01/27/2016 01:50:11 PM (9 years ago)
Author:
ocean90
Message:

Multisite: Add the global cache group sites to restore_current_blog() and wp_start_object_cache().

See #32450.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r36317 r36413  
    475475
    476476    if ( function_exists( 'wp_cache_add_global_groups' ) ) {
    477         wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'useremail', 'userslugs', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts', 'blog-id-cache', 'networks' ) );
     477        wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'useremail', 'userslugs', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts', 'blog-id-cache', 'networks', 'sites' ) );
    478478        wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
    479479    }
Note: See TracChangeset for help on using the changeset viewer.