diff --git a/object-cache.php b/object-cache.php index b0b4d0f..08ef807 100644 --- a/object-cache.php +++ b/object-cache.php @@ -197,6 +197,13 @@ class WP_Object_Cache { var $size_total = 0; var $slow_op_microseconds = 0.005; // 5 ms + var $global_prefix = ''; + var $blog_prefix = ''; + var $key_salt = ''; + var $cache_hits = 0; + var $cache_misses = 0; + var $time_start = 0; + function add( $id, $data, $group = 'default', $expire = 0 ) { $key = $this->key( $id, $group ); @@ -1105,7 +1112,7 @@ function __construct() { global $blog_id, $table_prefix; $this->global_prefix = ''; - $this->blog_prefix = ''; + $this->blog_prefix = ''; if ( function_exists( 'is_multisite' ) ) { $this->global_prefix = ( is_multisite() || defined( 'CUSTOM_USER_TABLE' ) && defined( 'CUSTOM_USER_META_TABLE' ) ) ? '' : $table_prefix;