Changeset 22111 for trunk/wp-includes/cache.php
- Timestamp:
- 10/04/2012 03:32:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r22086 r22111 221 221 222 222 /** 223 * Reset internal cache keys and structures. If the cache backend uses global blog or site IDs as part of its cache keys, 224 * this function instructs the backend to reset those keys and perform any cleanup since blog or site IDs have changed since cache init. 223 * Reset internal cache keys and structures. If the cache backend uses global 224 * blog or site IDs as part of its cache keys, this function instructs the 225 * backend to reset those keys and perform any cleanup since blog or site IDs 226 * have changed since cache init. 227 * 228 * This function is deprecated. Use wp_cache_switch_to_blog() instead of this 229 * function when preparing the cache for a blog switch. For clearing the cache 230 * during unit tests, consider using wp_cache_init(). wp_cache_init() is not 231 * recommended outside of unit tests as the performance penality for using it is 232 * high. 225 233 * 226 234 * @since 2.6.0 … … 228 236 */ 229 237 function wp_cache_reset() { 230 _deprecated_function( __FUNCTION__, '3.5' , 'wp_cache_switch_to_blog()');238 _deprecated_function( __FUNCTION__, '3.5' ); 231 239 232 240 global $wp_object_cache;
Note: See TracChangeset
for help on using the changeset viewer.