Improve the usefulness of several _deprecated_function() calls by passing known replacement functions, methods, or hooks.

Props jrf.
See #41121.


git-svn-id: https://develop.svn.wordpress.org/trunk@40929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2017-06-25 00:04:11 +00:00
parent c9539e5a3c
commit f6399c9950
4 changed files with 12 additions and 12 deletions

View File

@@ -264,7 +264,7 @@ function wp_cache_add_non_persistent_groups( $groups ) {
* @global WP_Object_Cache $wp_object_cache Object cache global instance.
*/
function wp_cache_reset() {
_deprecated_function( __FUNCTION__, '3.5.0' );
_deprecated_function( __FUNCTION__, '3.5.0', 'WP_Object_Cache::reset()' );
global $wp_object_cache;