Make WordPress Core


Ignore:
Timestamp:
11/19/2006 12:16:27 AM (18 years ago)
Author:
ryan
Message:

Reg singletons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/cache.php

    r3813 r4487  
    3131
    3232function wp_cache_init() {
    33     global $wp_object_cache;
    34 
    35     $wp_object_cache = new WP_Object_Cache();
     33    $GLOBALS['wp_object_cache'] =& new WP_Object_Cache();
    3634}
    3735
Note: See TracChangeset for help on using the changeset viewer.