[wp-trac] [WordPress Trac] #21330: Allow filtering of expiration in set_transient()

WordPress Trac noreply at wordpress.org
Tue Oct 6 14:10:02 UTC 2015


#21330: Allow filtering of expiration in set_transient()
------------------------------+------------------------
 Reporter:  wpsmith           |       Owner:  chriscct7
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Cache API         |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"34865"]:
 {{{
 #!CommitTicketReference repository="" revision="34865"
 Transients, add filters for `$expiration`:
 * `'expiration_pre_set_site_transient_' . $transient`
 * `'expiration_pre_set_transient_' . $transient`

 Props chriscct7, wpsmith, nacin.
 Fixes #21330.
 }}}

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


More information about the wp-trac mailing list