mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 01:00:04 +00:00
Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12128 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -304,7 +304,7 @@ if ( file_exists(WP_CONTENT_DIR . '/object-cache.php') ) {
|
||||
|
||||
wp_cache_init();
|
||||
if ( function_exists('wp_cache_add_global_groups') ) {
|
||||
wp_cache_add_global_groups(array ('users', 'userlogins', 'usermeta'));
|
||||
wp_cache_add_global_groups(array ('users', 'userlogins', 'usermeta', 'site-transient'));
|
||||
wp_cache_add_non_persistent_groups(array( 'comment', 'counts', 'plugins' ));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user