mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-23 23:04:25 +00:00
Ref more singletons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4486 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -30,9 +30,7 @@ function wp_cache_get($id, $flag = '') {
|
||||
}
|
||||
|
||||
function wp_cache_init() {
|
||||
global $wp_object_cache;
|
||||
|
||||
$wp_object_cache = new WP_Object_Cache();
|
||||
$GLOBALS['wp_object_cache'] =& new WP_Object_Cache();
|
||||
}
|
||||
|
||||
function wp_cache_replace($key, $data, $flag = '', $expire = 0) {
|
||||
|
||||
Reference in New Issue
Block a user