[wp-trac] [WordPress Trac] #63194: Fix type of last_changed cache time

WordPress Trac noreply at wordpress.org
Thu Apr 3 20:48:04 UTC 2025


#63194: Fix type of last_changed cache time
--------------------------+-----------------------
 Reporter:  tillkruess    |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.9
Component:  Cache API     |     Version:  6.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by peterwilsoncc):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60128" 60128]:
 {{{
 #!CommitTicketReference repository="" revision="60128"
 Docs: Fix types for `wp_cache_set_last_changed` filter.

 Corrects the type for the `$time` and `$previous_time` parameters in the
 filter to indicate the times are expressed as strings. The values are
 generated from a call to `microtime()` which returns the time as a string
 in the form `msec sec`.

 Props tillkruess, westonruter.
 Fixes #63194.
 }}}

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


More information about the wp-trac mailing list