Changeset 52708
- Timestamp:
- 02/11/2022 07:19:57 PM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cache-compat.php
r52706 r52708 24 24 * @param int $expire Optional. When to expire the cache contents, in seconds. 25 25 * Default 0 (no expiration). 26 * @return array Array of return values. 26 * @return bool[] Array of return values, grouped by key. Each value is either 27 * true on success, or false if cache key and group already exist. 27 28 */ 28 29 function wp_cache_add_multiple( array $data, $group = '', $expire = 0 ) { … … 54 55 * @param int $expire Optional. When to expire the cache contents, in seconds. 55 56 * Default 0 (no expiration). 56 * @return array Array of return values. 57 * @return bool[] Array of return values, grouped by key. Each value is either 58 * true on success, or false on failure. 57 59 */ 58 60 function wp_cache_set_multiple( array $data, $group = '', $expire = 0 ) { … … 82 84 * @param bool $force Optional. Whether to force an update of the local cache 83 85 * from the persistent cache. Default false. 84 * @return array Array of values organized into groups. 86 * @return array Array of return values, grouped by key. Each value is either 87 * the cache contents on success, or false on failure. 85 88 */ 86 89 function wp_cache_get_multiple( $keys, $group = '', $force = false ) { … … 108 111 * @param array $keys Array of keys under which the cache to deleted. 109 112 * @param string $group Optional. Where the cache contents are grouped. Default empty. 110 * @return array Array of return values. 113 * @return bool[] Array of return values, grouped by key. Each value is either 114 * true on success, or false if the contents were not deleted. 111 115 */ 112 116 function wp_cache_delete_multiple( array $keys, $group = '' ) { -
trunk/src/wp-includes/cache.php
r52706 r52708 57 57 * @param int $expire Optional. When to expire the cache contents, in seconds. 58 58 * Default 0 (no expiration). 59 * @return array Array of return values. 59 * @return bool[] Array of return values, grouped by key. Each value is either 60 * true on success, or false if cache key and group already exist. 60 61 */ 61 62 function wp_cache_add_multiple( array $data, $group = '', $expire = 0 ) { … … 123 124 * @param int $expire Optional. When to expire the cache contents, in seconds. 124 125 * Default 0 (no expiration). 125 * @return array Array of return values. 126 * @return bool[] Array of return values, grouped by key. Each value is either 127 * true on success, or false on failure. 126 128 */ 127 129 function wp_cache_set_multiple( array $data, $group = '', $expire = 0 ) { … … 165 167 * @param bool $force Optional. Whether to force an update of the local cache 166 168 * from the persistent cache. Default false. 167 * @return array Array of values organized into groups. 169 * @return array Array of return values, grouped by key. Each value is either 170 * the cache contents on success, or false on failure. 168 171 */ 169 172 function wp_cache_get_multiple( $keys, $group = '', $force = false ) { … … 201 204 * @param array $keys Array of keys under which the cache to deleted. 202 205 * @param string $group Optional. Where the cache contents are grouped. Default empty. 203 * @return array Array of return values. 206 * @return bool[] Array of return values, grouped by key. Each value is either 207 * true on success, or false if the contents were not deleted. 204 208 */ 205 209 function wp_cache_delete_multiple( array $keys, $group = '' ) { -
trunk/src/wp-includes/class-wp-object-cache.php
r52706 r52708 189 189 * @param int $expire Optional. When to expire the cache contents, in seconds. 190 190 * Default 0 (no expiration). 191 * @return array Array of return values. 191 * @return bool[] Array of return values, grouped by key. Each value is either 192 * true on success, or false if cache key and group already exist. 192 193 */ 193 194 public function add_multiple( array $data, $group = '', $expire = 0 ) { … … 278 279 * @param int $expire Optional. When to expire the cache contents, in seconds. 279 280 * Default 0 (no expiration). 280 * @return array Array of return values.281 * @return bool[] Array of return values, grouped by key. Each value is always true. 281 282 */ 282 283 public function set_multiple( array $data, $group = '', $expire = 0 ) { … … 342 343 * @param bool $force Optional. Whether to force an update of the local cache 343 344 * from the persistent cache. Default false. 344 * @return array Array of values organized into groups. 345 * @return array Array of return values, grouped by key. Each value is either 346 * the cache contents on success, or false on failure. 345 347 */ 346 348 public function get_multiple( $keys, $group = 'default', $force = false ) { … … 390 392 * @param array $keys Array of keys to be deleted. 391 393 * @param string $group Optional. Where the cache contents are grouped. Default empty. 392 * @return array Array of return values. 394 * @return bool[] Array of return values, grouped by key. Each value is either 395 * true on success, or false if the contents were not deleted. 393 396 */ 394 397 public function delete_multiple( array $keys, $group = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.