[wp-trac] [WordPress Trac] #20316: Garbage collect transients

WordPress Trac noreply at wordpress.org
Fri Sep 13 00:31:35 UTC 2013

#20316: Garbage collect transients
 Reporter:  nacin                             |       Owner:
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  3.7
Component:  Database                          |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  dev-feedback has-patch 3.7-early  |

Comment (by rossdev):

 I'm using transients to temporally store session data retrieved from an
 external API. If this data is deleted during the user's session then it's
 going to cause issues.

 Is there a way to only have expired transients removed during upgrades?

 I'm all for keeping the options table clean, but having all transients
 removed during database upgrades defeats the purpose of the transient API
 (when used correctly) don't you think?

Ticket URL: <http://core.trac.wordpress.org/ticket/20316#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list