@@ -206,8 +206,8 @@ function wp_cache_supports( $feature ) {
206
206
*
207
207
* @since 6.9.0
208
208
*
209
- * @param string $cache_key The cache key used for storage and retrieval.
210
- * @param string $group The cache group used for organizing data.
209
+ * @param string $cache_key The cache key used for storage and retrieval.
210
+ * @param string $group The cache group used for organizing data.
211
211
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
212
212
* @return mixed|false The cached data if valid, or false if the cache does not exist or is outdated.
213
213
*/
@@ -233,12 +233,12 @@ function wp_cache_get_salted( $cache_key, $group, $salt ) {
233
233
*
234
234
* @since 6.9.0
235
235
*
236
- * @param string $cache_key The cache key under which to store the data.
237
- * @param mixed $data The data to be cached.
238
- * @param string $group The cache group to which the data belongs.
236
+ * @param string $cache_key The cache key under which to store the data.
237
+ * @param mixed $data The data to be cached.
238
+ * @param string $group The cache group to which the data belongs.
239
239
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
240
- * @param int $expire Optional. When to expire the cache contents, in seconds.
241
- * Default 0 (no expiration).
240
+ * @param int $expire Optional. When to expire the cache contents, in seconds.
241
+ * Default 0 (no expiration).
242
242
*/
243
243
function wp_cache_set_salted ( $ cache_key , $ data , $ group , $ salt , $ expire = 0 ) {
244
244
$ salt = is_array ( $ salt ) ? implode ( ': ' , $ salt ) : $ salt ;
@@ -260,8 +260,8 @@ function wp_cache_set_salted( $cache_key, $data, $group, $salt, $expire = 0 ) {
260
260
*
261
261
* @since 6.9.0
262
262
*
263
- * @param array $cache_keys Array of cache keys to retrieve.
264
- * @param string $group The group of the cache to check.
263
+ * @param array $cache_keys Array of cache keys to retrieve.
264
+ * @param string $group The group of the cache to check.
265
265
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
266
266
* @return array An associative array containing cache values. Values are `false` if they are not found or outdated.
267
267
*/
@@ -291,11 +291,11 @@ function wp_cache_get_multiple_salted( $cache_keys, $group, $salt ) {
291
291
*
292
292
* @since 6.9.0
293
293
*
294
- * @param mixed $data Data to be stored in the cache for all keys.
295
- * @param string $group Group to which the cached data belongs.
294
+ * @param mixed $data Data to be stored in the cache for all keys.
295
+ * @param string $group Group to which the cached data belongs.
296
296
* @param string|string[] $salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
297
- * @param int $expire Optional. When to expire the cache contents, in seconds.
298
- * Default 0 (no expiration).
297
+ * @param int $expire Optional. When to expire the cache contents, in seconds.
298
+ * Default 0 (no expiration).
299
299
*/
300
300
function wp_cache_set_multiple_salted ( $ data , $ group , $ salt , $ expire = 0 ) {
301
301
$ salt = is_array ( $ salt ) ? implode ( ': ' , $ salt ) : $ salt ;
0 commit comments