/**
* Object Cache API
*
- * @link https://codex.wordpress.org/Function_Reference/WP_Cache
+ * @link https://codex.wordpress.org/Class_Reference/WP_Object_Cache
*
* @package WordPress
* @subpackage Cache
}
/**
- * Switches the interal blog ID.
+ * Switches the internal blog ID.
*
* This changes the blog id used to create keys in blog specific groups.
*
* @global WP_Object_Cache $wp_object_cache Object cache global instance.
*/
function wp_cache_reset() {
- _deprecated_function( __FUNCTION__, '3.5' );
+ _deprecated_function( __FUNCTION__, '3.5.0' );
global $wp_object_cache;
private $multisite;
/**
- * Makes private properties readable for backwards compatibility.
+ * Makes private properties readable for backward compatibility.
*
* @since 4.0.0
* @access public
}
/**
- * Makes private properties settable for backwards compatibility.
+ * Makes private properties settable for backward compatibility.
*
* @since 4.0.0
* @access public
}
/**
- * Makes private properties checkable for backwards compatibility.
+ * Makes private properties checkable for backward compatibility.
*
* @since 4.0.0
* @access public
}
/**
- * Makes private properties un-settable for backwards compatibility.
+ * Makes private properties un-settable for backward compatibility.
*
* @since 4.0.0
* @access public
* @see switch_to_blog()
*/
public function reset() {
- _deprecated_function( __FUNCTION__, '3.5', 'switch_to_blog()' );
+ _deprecated_function( __FUNCTION__, '3.5.0', 'switch_to_blog()' );
// Clear out non-global caches since the blog ID has changed.
foreach ( array_keys( $this->cache ) as $group ) {
}
/**
- * Switches the interal blog ID.
+ * Switches the internal blog ID.
*
* This changes the blog ID used to create keys in blog specific groups.
*