Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 9 years ago

#11208 closed defect (bug) (wontfix)

'Delete Permanently' does not ask for confirmation when trash is disabled

Reported by: sirzooro's profile sirzooro Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Trash Keywords: 2nd-opinion
Focuses: Cc:


When Trash is disabled (EMPTY_TRASH_DAYS defined to 0), WP does not ask for confirmation when someone clicks on 'Delete Permanently' link do delete post/page (probably attachments too). This applies for links on post/page list and post/page edit screens.

See also #11183

Change History (5)

#1 @sirzooro
15 years ago

  • Milestone changed from Unassigned to 2.9

#2 @scribu
15 years ago

  • Keywords 2nd-opinion added; needs-patch removed

This would practically defeat the whole purpose of Trash. Maybe disabling trash shouldn't be an option in the first place.

#3 @sirzooro
15 years ago

Some people (like me) prefer to directly delete instead of trashing first, so such option is useful for them. So when someone uses it, WP should revert to pre-WP2.9 behaviour and ask for confirmation, to prevent mistakes when someone will click "Delete Permanently" link by accident.

#4 @janeforshort
15 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

The pre-2.9 behavior of asking for confirmation first got me a ton of hate mail from people who demanded to know why I thought they weren't capable of clicking the right link. If someone prefers to delete directly, then they should just be careful of what they do. I'd rather see a confirmation prompt on every deletion in that case as a plugin instead of the other way around, since most people found the confirmation prompt to be annoying and disruptive.

#5 @DrewAPicture
9 years ago

  • Milestone 2.9 deleted
Note: See TracTickets for help on using tickets.