[wp-trac] [WordPress Trac] #63364: Ensure consistent $expire casting to (int) in wp_cache_set_multiple() and wp_cache_add_multiple() functions

WordPress Trac noreply at wordpress.org
Tue Apr 29 22:42:36 UTC 2025


#63364: Ensure consistent $expire casting to (int) in wp_cache_set_multiple() and
wp_cache_add_multiple() functions
--------------------------+-------------------------------
 Reporter:  dilipbheda    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.9
Component:  Cache API     |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60206" 60206]:
 {{{
 #!CommitTicketReference repository="" revision="60206"
 Cache API: Consistently pass the `$expire` value as an integer in cache
 functions.

 Follow-up to [52700].

 Props dilipbheda.
 Fixes #63364.
 }}}

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


More information about the wp-trac mailing list