From a9437a6aff300b354d2b012e379b58ab44973138 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 11 Feb 2022 18:03:15 +0000 Subject: [PATCH] Docs: Correct `@since` tag for `wp_cache_reset()`. The function was added in WordPress 3.0, not 2.6. Follow-up to [13066]. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@52704 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/cache.php b/src/wp-includes/cache.php index 2168569c58..30257e02af 100644 --- a/src/wp-includes/cache.php +++ b/src/wp-includes/cache.php @@ -338,7 +338,7 @@ function wp_cache_add_non_persistent_groups( $groups ) { * during unit tests, consider using wp_cache_init(). wp_cache_init() is not * recommended outside of unit tests as the performance penalty for using it is high. * - * @since 2.6.0 + * @since 3.0.0 * @deprecated 3.5.0 WP_Object_Cache::reset() * @see WP_Object_Cache::reset() *