[wp-trac] [WordPress Trac] #56198: Check cache key type

WordPress Trac noreply at wordpress.org
Mon Jul 18 15:05:47 UTC 2022


#56198: Check cache key type
-------------------------+--------------------------
 Reporter:  tillkruess   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  Cache API    |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+--------------------------

Comment (by tillkruess):

 Replying to [comment:16 malthert]:
 > Definitely, is_valid_group() would replace the empty() for fallback to
 default group - with no error message for groups?

 I'd also suggest a `_doing_it_wrong()` as well, any objections?

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


More information about the wp-trac mailing list