[wp-trac] [WordPress Trac] #4141: default cache behavior leaves tmp files when cache dir unwritable

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 12 09:16:55 GMT 2007


#4141: default cache behavior leaves tmp files when cache dir unwritable
---------------------+------------------------------------------------------
 Reporter:  andy     |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  high     |   Milestone:  2.2      
Component:  General  |     Version:  2.1      
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 As reported by Sabin Iacob [wp-hackers] Wordpress object cache, the files
 in /tmp/ are not removed.

 It seems to happen in cache.php, where there is no unlink in the second
 clause of the if statement of line 343. The tmp files are unusable so they
 should be removed regardless of success.

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


More information about the wp-trac mailing list