'Delete Permanently' does not ask for confirmation when trash is disabled
|Reported by:||sirzooro||Owned by:|
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