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

WordPress Trac noreply at wordpress.org
Sun Apr 6 22:27:45 UTC 2025


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

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


Comment:

 In [changeset:"60133" 60133]:
 {{{
 #!CommitTicketReference repository="" revision="60133"
 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`.

 Reviewed by audrasjb.
 Merges [60128] to the 6.8 branch.

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

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


More information about the wp-trac mailing list