[wp-trac] [WordPress Trac] #18123: Callback parameter for Transients

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 15 04:30:33 UTC 2011


#18123: Callback parameter for Transients
--------------------------+------------------------------
 Reporter:  plpetitclerc  |       Owner:
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.2.1
 Severity:  normal        |  Resolution:  maybelater
 Keywords:                |
--------------------------+------------------------------
Changes (by plpetitclerc):

 * status:  new => closed
 * resolution:   => maybelater


Comment:

 I wasn't aware the data expiration occurred when returning an expired
 transient. I guess that makes sense though. Having a user-specified
 function called on expiration ''would'' be another acceptable way to go
 about it, I think. The changes in methodology are minimal regardless - I
 just felt it would've made for a more robust API.

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


More information about the wp-trac mailing list