[wp-trac] [WordPress Trac] #57905: Add last changed cache helper function
WordPress Trac
noreply at wordpress.org
Tue May 2 11:25:08 UTC 2023
#57905: Add last changed cache helper function
------------------------------+---------------------------
Reporter: tillkruess | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.3
Component: Cache API | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+---------------------------
Changes (by spacedmonkey):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"55702" 55702]:
{{{
#!CommitTicketReference repository="" revision="55702"
Cache API: Add helper function `wp_cache_set_last_changed`.
Add a helper function called `wp_cache_set_last_changed` to set the last
changed value for cache groups. This function has a new action called
`wp_cache_set_last_changed`, allowing for developers to cache invalidate
when last changed value is changed.
Props tillkruess, spacedmonkey, peterwilsoncc, mukesh27, johnjamesjacoby.
Fixes #57905.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57905#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list