new does not require by reference.

git-svn-id: https://develop.svn.wordpress.org/trunk@18995 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-10-18 20:20:59 +00:00
parent e8946bf56a
commit 90f95e0204
7 changed files with 8 additions and 8 deletions

View File

@@ -137,7 +137,7 @@ function wp_cache_incr( $key, $offset = 1, $group = '' ) {
* @global WP_Object_Cache $wp_object_cache WordPress Object Cache
*/
function wp_cache_init() {
$GLOBALS['wp_object_cache'] =& new WP_Object_Cache();
$GLOBALS['wp_object_cache'] = new WP_Object_Cache();
}
/**