Opened 15 years ago
Closed 15 years ago
#19079 closed defect (bug) (duplicate)
Auto Draft database insertion overflow
| Reported by: | Zatsugami | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 3.2.1 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
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!?
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
These are cleaned up after one week.
When we made the switch to auto-drafts in 3.0, no one really commented on save_post being triggered. Indeed, it triggers in a number of other situations, such as Quick Edit.
For more, #18800.