Changeset 12888 for trunk/wp-includes/ms-settings.php
- Timestamp:
- 01/28/2010 05:28:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-settings.php
r12885 r12888 153 153 $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]); 154 154 155 wp_cache_init(); // need to init cache again after blog_id is set 156 if ( function_exists('wp_cache_add_global_groups') ) { // need to add these again. Yes, it's an ugly hack 157 wp_cache_add_global_groups(array ('users', 'userlogins', 'usermeta', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss')); 158 wp_cache_add_non_persistent_groups(array( 'comment', 'counts', 'plugins' )); 159 } 155 // need to init cache again after blog_id is set 156 wp_start_object_cache(); 160 157 161 158 ms_default_constants( 'uploads' );
Note: See TracChangeset
for help on using the changeset viewer.