WordPress.org

Make WordPress Core

Changeset 36411


Ignore:
Timestamp:
01/27/2016 01:42:35 PM (5 years ago)
Author:
ocean90
Message:

Multisite: Add the global cache group networks to restore_current_blog().

Missed in [36258].

See #35251.

File:
1 edited

Legend:

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

    r36393 r36411  
    732732                wp_cache_add_global_groups( $global_groups );
    733733            } else {
    734                 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' ) );
     734                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' ) );
    735735            }
    736736            wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
Note: See TracChangeset for help on using the changeset viewer.