[wp-trac] [WordPress Trac] #11133: Need way to disable trash funcionality

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 13 06:55:34 UTC 2009


#11133: Need way to disable trash funcionality
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.9
Component:  General       |     Version:  2.9
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11133>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list