Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#13547 closed defect (bug) (invalid)

Potential Auto Draft leak

Reported by: jayarjo Owned by: azaozz
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Autosave Keywords:
Focuses: Cc:


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.

Change History (1)

#1 @nacin
8 years ago

  • Keywords 2nd-opinion removed
  • Milestone 3.0 deleted
  • Priority changed from highest omg bbq to normal
  • Resolution set to invalid
  • Status changed from new to closed

They're cleaned up over time. The interval is seven days. I replied to this inquiry over wp-hackers, FYI.

Note: See TracTickets for help on using tickets.