Ref more singletons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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