[wp-trac] [WordPress Trac] #21330: Change pre_set_site_transient_* to affect $expiration

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 21 18:40:10 UTC 2012


#21330: Change pre_set_site_transient_* to affect $expiration
------------------------------------+------------------------------
 Reporter:  wpsmith                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Cache                   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by wpsmith):

 Replying to [comment:1 obenland]:
 > AFAIK, filters are only supposed to filter the first supplied argument.
 So `$expiration`probably should get its own filter.

 Yes that's right. I knew that! Adjusted patch for one filter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21330#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list