WordPress.org

Make WordPress Core

Changeset 7986 for trunk/wp-settings.php


Ignore:
Timestamp:
05/22/2008 05:28:54 PM (12 years ago)
Author:
ryan
Message:

wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r7961 r7986  
    220220
    221221wp_cache_init();
     222if ( function_exists('wp_cache_add_global_groups') ) {
     223    wp_cache_add_global_groups(array ('users', 'userlogins', 'usermeta'));
     224    wp_cache_add_non_persistent_groups(array( 'comment', 'counts' ));
     225}
    222226
    223227require (ABSPATH . WPINC . '/plugin.php');
Note: See TracChangeset for help on using the changeset viewer.