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

WordPress Trac noreply at wordpress.org
Tue Oct 6 17:58:21 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 ocean90):

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


Comment:

 In [changeset:"34877"]:
 {{{
 #!CommitTicketReference repository="" revision="34877"
 Transients: Rename filters added in [34865].

 * `expiration_pre_set_transient_$transient` =>
 `expiration_of_transient_$transient`
 * `expiration_pre_set_site_transient_$transient` =>
 `expiration_of_site_transient_$transient`

 Fix hook docs.

 Props chriscct7.
 Fixes #21330.
 }}}

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


More information about the wp-trac mailing list