Allow filtering of expiration in set_transient()
|Reported by:||wpsmith||Owned by:|
|Component:||Cache API||Keywords:||has-patch 2nd-opinion|
I recently needed to change an expiration of a transient and expected pre_set_site_transient_* filter to be able to do that. However, the filter only affects the value. I recommend adjusting this to affect both.
Change History (22)
comment:10 nacin — 19 months ago
- Summary changed from Change pre_set_site_transient_* to affect $expiration to Allow filtering of expiration in set_transient()
comment:13 wonderboymusic — 2 months ago
- Keywords dev-feedback removed
- Milestone changed from Awaiting Review to 3.9
Note: See TracTickets for help on using tickets.