Changeset 52705
- Timestamp:
- 02/11/2022 06:31:48 PM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cache.php
r52704 r52705 340 340 * 341 341 * @since 3.0.0 342 * @deprecated 3.5.0 WP_Object_Cache::reset()342 * @deprecated 3.5.0 Use wp_cache_switch_to_blog() 343 343 * @see WP_Object_Cache::reset() 344 344 * … … 346 346 */ 347 347 function wp_cache_reset() { 348 _deprecated_function( __FUNCTION__, '3.5.0', ' WP_Object_Cache::reset()' );348 _deprecated_function( __FUNCTION__, '3.5.0', 'wp_cache_switch_to_blog()' ); 349 349 350 350 global $wp_object_cache; -
trunk/src/wp-includes/class-wp-object-cache.php
r52703 r52705 462 462 * @since 3.0.0 463 463 * 464 * @deprecated 3.5.0 Use switch_to_blog()464 * @deprecated 3.5.0 Use WP_Object_Cache::switch_to_blog() 465 465 * @see switch_to_blog() 466 466 */ 467 467 public function reset() { 468 _deprecated_function( __FUNCTION__, '3.5.0', ' switch_to_blog()' );468 _deprecated_function( __FUNCTION__, '3.5.0', 'WP_Object_Cache::switch_to_blog()' ); 469 469 470 470 // Clear out non-global caches since the blog ID has changed.
Note: See TracChangeset
for help on using the changeset viewer.