[wp-hackers] Transient key best practice

Nicholas Ciske nl at thoughtrefinery.com
Mon Sep 9 20:34:15 UTC 2013


Nope. It only gets removed the next time it's requested.

http://www.stumiller.me/does-wordpress-delete-expired-transients-from-the-database/

May be fixed in 3.7:
http://core.trac.wordpress.org/ticket/20316

There are plugins that use cron to clean up orphan records, but core does not... yet.

http://wordpress.org/plugins/artiss-transient-cleaner/

http://wordpress.org/plugins/delete-expired-transients/

_________________________
Nick Ciske
http://thoughtrefinery.com/
@nciske	

On Sep 9, 2013, at 3:30 PM, Nikola Nikolov wrote:

> doesn't setting transient's expiry time automatically remove it from
> the database once it's time's up?



More information about the wp-hackers mailing list