WordPress.org

Make WordPress Core

Changeset 36412


Ignore:
Timestamp:
01/27/2016 01:47:24 PM (4 years ago)
Author:
ocean90
Message:

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

Merges [36411] to the 4.4 branch.
See #35251.

Location:
branches/4.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4

  • branches/4.4/src/wp-includes/ms-blogs.php

    r36259 r36412  
    726726                wp_cache_add_global_groups( $global_groups );
    727727            } else {
    728                 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' ) );
     728                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' ) );
    729729            }
    730730            wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
Note: See TracChangeset for help on using the changeset viewer.