[wp-trac] [WordPress Trac] #19079: Auto Draft database insertion overflow

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 28 21:19:29 UTC 2011


#19079: Auto Draft database insertion overflow
--------------------------+------------------------------------------
 Reporter:  Zatsugami     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Types    |    Version:  3.2.1
 Severity:  major         |   Keywords:  needs-patch needs-unit-tests
--------------------------+------------------------------------------
 When you just visit Posts > Add new a draft is inserted into database.
 If you leave the page without doing anything the entry remains unused and
 is inaccessible. This leads to a great number of trash database entries.
 You can just hit refresh few times and you end up with several auto
 drafts. This is obviously a weird behavior which I consider as a bug.
 Also, the save_post action is called because of that which is misleading
 when you think about process of data insertion.
 Even just after fresh install there are 2 drafts already in database!?

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


More information about the wp-trac mailing list