Changeset 53767 for trunk/src/wp-includes/class-wp-object-cache.php
- Timestamp:
- 07/23/2022 02:56:51 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-object-cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-object-cache.php
r53763 r53767 292 292 293 293 /** 294 * Removes all cache items in a group.295 *296 * @since 6.1.0297 *298 * @param string $group Name of group to remove from cache.299 * @return true Always returns true.300 */301 public function flush_group( $group ) {302 unset( $this->cache[ $group ] );303 304 return true;305 }306 307 /**308 294 * Retrieves the cache contents, if it exists. 309 295 * … … 511 497 512 498 /** 499 * Removes all cache items in a group. 500 * 501 * @since 6.1.0 502 * 503 * @param string $group Name of group to remove from cache. 504 * @return true Always returns true. 505 */ 506 public function flush_group( $group ) { 507 unset( $this->cache[ $group ] ); 508 509 return true; 510 } 511 512 /** 513 513 * Sets the list of global cache groups. 514 514 *
Note: See TracChangeset
for help on using the changeset viewer.