Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#11133 closed defect (bug) (fixed)

Need way to disable trash funcionality

Reported by: sirzooro Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Trash Keywords:
Focuses: Cc:


Some users may want to switch to old functionality and disable posts/pages without trashing them first. As I checked, there is no else section wp-admin/includes/template.php around line 1455 (inside if ( current_user_can('delete_post', $post->ID) ) block). Need to add it. There may be other issues related to setting EMPTY_TRASH_DAYS to zero - I have not tested this yet.

Change History (2)

#1 @ryan
6 years ago

  • Component changed from General to Trash

#2 @ryan
6 years ago

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

[12162] seems to address this.

Note: See TracTickets for help on using tickets.