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

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


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

Comment (by dd32):

 The expiration of data occurs when the transient is retrieved.

 For example, If the data expires at midday, and the script retrieves it at
 7pm, It's at 7pm when !WordPress "knows" the data has expired. For that
 reason alone, this doesnt seem like a worthwhile integration to me, some
 scripts will want to only reset the transient in a cronjob, others will
 want to handle it then-and-there in the script calling the transient..

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


More information about the wp-trac mailing list