Changeset 4486

Show
Ignore:
Timestamp:
11/19/06 00:12:57 (2 years ago)
Author:
ryan
Message:

Ref more singletons.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/cache.php

    r3812 r4486  
    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 
  • trunk/wp-settings.php

    r4464 r4486  
    242242require_once(ABSPATH . WPINC . '/locale.php'); 
    243243 
    244 $wp_locale = new WP_Locale(); 
     244$wp_locale =& new WP_Locale(); 
    245245 
    246246// Load functions for active theme.