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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
They're cleaned up over time. The interval is seven days. I replied to this inquiry over wp-hackers, FYI.