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

WordPress Trac noreply at wordpress.org
Tue Oct 6 05:55:54 UTC 2015


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

Comment (by jeremyfelt):

 Replying to [comment:26 DrewAPicture]:
 > @jeremyfelt: What would be your preference on the naming of the site
 transient hook? Should we go with "site" or "network" following [34778]?

 I think sticking with `site` makes sense for consistency. I don't foresee
 a near term strategy for handling cross-network transients, so these
 functions will probably stay as is for a bit.

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


More information about the wp-trac mailing list