#7455 closed enhancement (invalid)
WordPress should confirm when doing a mass delete
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.6 |
| Component: | Administration | Keywords: | |
| Focuses: | Cc: |
Description
If you mark some posts at Manage -> Posts and click "Delete", you should be asked "Are you sure?" for safety.
Attachments (2)
Change History (11)
#2
@
17 years ago
I'm not getting an AYS. Tested on FF. Updated forms.js version in the script loader and still nothing.
#3
@
17 years ago
- Cc ryan@… added
Sorry, forgot to include the script-loader stuff. Seems to work for me in FF and Safari.
#5
@
17 years ago
- Keywords patched added; needs-patch removed
I believe this patch is a necessary first step, although I think that undo capability is a nice idea.
#6
follow-up:
↓ 7
@
17 years ago
I don't like the confirmation idea for three reasons.
First, confirmations never work. People click OK buttons brainlessly.
Second, it still offers no way back if you do confirm.
Third, this particular instance seems to be javascript dependent in a big way.
For most cases like this, this sort of thing is already a solved problem. Instead of deleting, the first delete should mark the thing as deleted instead of actually deleting it. Then, we have a "Trash" or something which the user can manually empty or which auto-empties on some regular basis.
In the specific case of WordPress, we should have a "Trash" post_status or something, which has another tab on the Manage->Posts screen. Then users can go there to find accidentally deleted posts.
Note that in order to avoid confusion, the only things allowed to be done to a Trashed post should be to recover or view its contents. No editing, no nothing else. Also, recovery of a post should be allowed to be to either a published or to a draft status.
Only when the trash is emptied are all the posts and comments and such related to that post actually deleted from the DB.
This is patched for 2.7 and the dropdown mechanism.