WordPress.org

Make WordPress Core

Changeset 36259


Ignore:
Timestamp:
01/11/2016 05:05:09 AM (4 years ago)
Author:
dd32
Message:

Multisite: The networks group should be global.

Merges [36258] to the 4.4 branch.
Fixes #35251.

Location:
branches/4.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4

  • branches/4.4/src/wp-includes/load.php

    r35688 r36259  
    474474
    475475    if ( function_exists( 'wp_cache_add_global_groups' ) ) {
    476         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' ) );
     476        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' ) );
    477477        wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
    478478    }
  • branches/4.4/src/wp-includes/ms-blogs.php

    r35446 r36259  
    655655                wp_cache_add_global_groups( $global_groups );
    656656            } else {
    657                 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' ) );
     657                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' ) );
    658658            }
    659659            wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
Note: See TracChangeset for help on using the changeset viewer.