Changeset 52703 for trunk/src/wp-includes/cache-compat.php
- Timestamp:
- 02/11/2022 05:42:51 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cache-compat.php
r52700 r52703 39 39 if ( ! function_exists( 'wp_cache_delete_multiple' ) ) : 40 40 /** 41 * Delete multiple values from the cache in one call.41 * Deletes multiple values from the cache in one call. 42 42 * 43 43 * Compat function to mimic wp_cache_delete_multiple(). … … 66 66 if ( ! function_exists( 'wp_cache_add_multiple' ) ) : 67 67 /** 68 * Add multiple values to the cache in one call, if the cache keys doesn't already exist.68 * Adds multiple values to the cache in one call, if the cache keys don't already exist. 69 69 * 70 70 * Compat function to mimic wp_cache_add_multiple(). … … 75 75 * @see wp_cache_add_multiple() 76 76 * 77 * @param array $data Array of key and value to be added. 78 * @param string $group Optional. Where the cache contents are grouped. Default empty. 79 * @param int $expire Optional. When to expire the cache contents, in seconds. Default 0 (no expiration). 77 * @param array $data Array of keys and values to be added. 78 * @param string $group Optional. Where the cache contents are grouped. Default empty. 79 * @param int $expire Optional. When to expire the cache contents, in seconds. 80 * Default 0 (no expiration). 80 81 * @return array Array of return values. 81 82 */ … … 93 94 if ( ! function_exists( 'wp_cache_set_multiple' ) ) : 94 95 /** 95 * Set multiple values to the cache in one call.96 * Sets multiple values to the cache in one call. 96 97 * 97 98 * Differs from wp_cache_add_multiple() in that it will always write data. … … 104 105 * @see wp_cache_set_multiple() 105 106 * 106 * @param array $data Array of key and value to be set. 107 * @param string $group Optional. Where the cache contents are grouped. Default empty. 108 * @param int $expire Optional. When to expire the cache contents, in seconds. Default 0 (no expiration). 107 * @param array $data Array of keys and values to be set. 108 * @param string $group Optional. Where the cache contents are grouped. Default empty. 109 * @param int $expire Optional. When to expire the cache contents, in seconds. 110 * Default 0 (no expiration). 109 111 * @return array Array of return values. 110 112 */
Note: See TracChangeset
for help on using the changeset viewer.