Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#13547 closed defect (bug) (invalid)

Potential Auto Draft leak

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

Description

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
16 years ago

  • Keywords 2nd-opinion removed
  • Milestone 3.0
  • Priority highest omg bbq → normal
  • Resolution → invalid
  • Status new → 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.