WordPress.org

Make WordPress Core

Changeset 15482


Ignore:
Timestamp:
07/30/10 21:30:06 (4 years ago)
Author:
ryan
Message:

Add user_meta to global groups. see #14475

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r15481 r15482  
    379379 
    380380    if ( function_exists( 'wp_cache_add_global_groups' ) ) { 
    381         wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts' ) ); 
     381        wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts' ) ); 
    382382        wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) ); 
    383383    } 
  • trunk/wp-includes/ms-blogs.php

    r15332 r15482  
    424424            wp_cache_add_global_groups( $global_groups ); 
    425425        else 
    426             wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'site-transient', 'global-posts' ) ); 
     426            wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts' ) ); 
    427427        wp_cache_add_non_persistent_groups(array( 'comment', 'counts', 'plugins' )); 
    428428    } 
     
    480480            wp_cache_add_global_groups( $global_groups ); 
    481481        else 
    482             wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'site-transient' ) ); 
     482            wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts' ) ); 
    483483        wp_cache_add_non_persistent_groups(array( 'comment', 'counts', 'plugins' )); 
    484484    } 
Note: See TracChangeset for help on using the changeset viewer.