Need way to disable trash funcionality
|Reported by:||sirzooro||Owned by:|
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.