From 75998818a4957b2d29448d90e77acb9ff134629c Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 30 Aug 2015 03:03:47 +0000 Subject: [PATCH] Fix copy pasta in `wp_cache_decr()` doc block. Props danielbachhuber. Fixes #33548. git-svn-id: https://develop.svn.wordpress.org/trunk@33809 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/cache.php b/src/wp-includes/cache.php index 3da0746fc4..7aea7e2555 100644 --- a/src/wp-includes/cache.php +++ b/src/wp-includes/cache.php @@ -50,7 +50,7 @@ function wp_cache_close() { * * @global WP_Object_Cache $wp_object_cache * - * @param int|string $key The cache key to increment + * @param int|string $key The cache key to decrement. * @param int $offset The amount by which to decrement the item's value. Default is 1. * @param string $group The group the key is in. * @return false|int False on failure, the item's new value on success. @@ -423,7 +423,7 @@ class WP_Object_Cache { * * @since 3.3.0 * - * @param int|string $key The cache key to increment + * @param int|string $key The cache key to decrement. * @param int $offset The amount by which to decrement the item's value. Default is 1. * @param string $group The group the key is in. * @return false|int False on failure, the item's new value on success.