mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Cache get_plugins() list. Props DD32. fixes #7113
git-svn-id: https://develop.svn.wordpress.org/trunk@8068 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ else
|
||||
wp_cache_init();
|
||||
if ( function_exists('wp_cache_add_global_groups') ) {
|
||||
wp_cache_add_global_groups(array ('users', 'userlogins', 'usermeta'));
|
||||
wp_cache_add_non_persistent_groups(array( 'comment', 'counts' ));
|
||||
wp_cache_add_non_persistent_groups(array( 'comment', 'counts', 'plugins' ));
|
||||
}
|
||||
|
||||
require (ABSPATH . WPINC . '/plugin.php');
|
||||
|
||||
Reference in New Issue
Block a user