[wp-trac] [WordPress Trac] #56605: Reconsider wp_cache_supports_group_flush implementation

WordPress Trac noreply at wordpress.org
Mon Sep 19 16:17:01 UTC 2022


#56605: Reconsider wp_cache_supports_group_flush implementation
-------------------------------------------+---------------------
 Reporter:  johnjamesjacoby                |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  6.1
Component:  Cache API                      |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  2nd-opinion changes-requested  |     Focuses:
-------------------------------------------+---------------------

Comment (by SergeyBiryukov):

 Thanks for the ticket!

 Replying to [ticket:56605 johnjamesjacoby]:
 > Perhaps that means a new `WP_Object_Cache::supports( $feature = '' ) {}`
 method and a new `wp_cache_supports( $feature = '' ) {}` function?

 That makes sense to me and seems more future-proof.

 It looks like the current implementation is the result of the discussion
 on [https://github.com/WordPress/wordpress-
 develop/pull/2368#issuecomment-1056780110 PR #2368 Delete Cache by Group].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56605#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list