[wp-trac] [WordPress Trac] #57593: Warn about calling `_get_non_cached_ids()` with invalid ids

WordPress Trac noreply at wordpress.org
Tue Jan 31 18:45:11 UTC 2023


#57593: Warn about calling `_get_non_cached_ids()` with invalid ids
--------------------------+------------------------------
 Reporter:  tillkruess    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Cache API     |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by tillkruess):

 Maybe we can turn `WP_Object_Cache::is_valid_key()` into a global helper
 function and use it in `_get_non_cached_ids()`?

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


More information about the wp-trac mailing list