[wp-trac] [WordPress Trac] #13547: Potential Auto Draft leak

WordPress Trac wp-trac at lists.automattic.com
Wed May 26 05:26:08 UTC 2010


#13547: Potential Auto Draft leak
-----------------------------+----------------------------------------------
 Reporter:  jayarjo          |       Owner:  azaozz     
     Type:  defect (bug)     |      Status:  new        
 Priority:  highest omg bbq  |   Milestone:  3.0        
Component:  Autosave         |     Version:  3.0        
 Severity:  normal           |    Keywords:  2nd-opinion
-----------------------------+----------------------------------------------
 Noticed in Wordpress 3.0-beta2-14860.

 If you open Add New page for any type of post, default or custom,
 WordPress creates Auto Draft in the database. Which I guess is expected
 behavior. But if I leave this page without publishing this post, it still
 keeps Auto Draft in database. Then if I come to Add New page again it
 won't use that existing Auto Draft, but create new.

 My problem was that I was customizing Add New page for my custom post and
 thus - refreshing it constantly, so in the end I got over 50 useless Auto
 Draft posts in my wp_posts table. I think it's kinda potential leak.

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


More information about the wp-trac mailing list