[wp-trac] [WordPress Trac] #21330: Allow filtering of expiration in set_transient()
WordPress Trac
noreply at wordpress.org
Wed Feb 5 05:14:48 UTC 2014
#21330: Allow filtering of expiration in set_transient()
------------------------------------+------------------------------
Reporter: wpsmith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache API | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by mordauk):
I haven't personally had the need to do this, but it seems perfectly
reasonable that a plugin would want to. For example, in
[http://wordpress.org/extend/plugins/easy-digital-downloads/ Easy Digital
Downloads] we use transients for caching some earnings data. If our cache
is too aggressive or too weak, a user could better tweak our transient
expirations to better suit their site.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21330#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list