WordPress.org

Make WordPress Core

Ticket #35430: persistent_counts.diff

File persistent_counts.diff, 682 bytes (added by wjywbs, 4 years ago)
  • src/wp-includes/load.php

     
    475475
    476476        if ( function_exists( 'wp_cache_add_global_groups' ) ) {
    477477                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' ) );
    478                 wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
     478                wp_cache_add_non_persistent_groups( array( 'comment', 'plugins' ) );
    479479        }
    480480}
    481481