[wp-trac] [WordPress Trac] #4476: Delete Cache by Group

WordPress Trac noreply at wordpress.org
Sat Jul 23 14:57:05 UTC 2022

#4476: Delete Cache by Group
 Reporter:  filosofo                         |       Owner:  spacedmonkey
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.1
Component:  Cache API                        |     Version:  2.2
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:

Comment (by SergeyBiryukov):

 In [changeset:"53767" 53767]:
 #!CommitTicketReference repository="" revision="53767"
 Cache API: Make the placement of `wp_cache_flush_group()` more consistent.

 * Placing `WP_Object_Cache::flush_group()` next to `::flush()`.
 * Placing `wp_cache_supports_group_flush()` next to
 * Placing the `wp_cache_flush_group()` unit test next to the `::flush()`
 method test.
 * Removing test name from assertion messages, as it is already mentioned
 directly above in case of failure.
 * Adjusting function descriptions per the documentation standards.

 Follow-up to [52706], [53763].

 See #55647, #4476.

Ticket URL: <https://core.trac.wordpress.org/ticket/4476#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list