[wp-trac] [WordPress Trac] #12782: delete_transient does not delete _transient_timeout_name

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 31 03:38:14 UTC 2010


#12782: delete_transient does not delete _transient_timeout_name
--------------------------+-------------------------------------------------
 Reporter:  neoxx         |       Owner:  ryan                       
     Type:  defect (bug)  |      Status:  new                        
 Priority:  normal        |   Milestone:  3.0                        
Component:  Cache         |     Version:  2.9.2                      
 Severity:  normal        |    Keywords:  transient, delete_transient
--------------------------+-------------------------------------------------
 Hi,

 I currently reworked one of my plugins to use a transient instead of an
 option for caching. - Now, I also wanted to provide a clean uninstall,
 thus not leaving the transient in the options-table.

 Obviously, the transient itself can be removed from the database by the
 usage of {{{delete_transient($name)}}}, though a
 ''_transient_timeout_name'' remains.

 Is there a particular reason for leaving this value? I know, that it is
 not auto-loaded, but imho still garbage...

 Berny

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12782>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list