[wp-trac] [WordPress Trac] #11873: Contributors can restore posts trashed by editors

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 12 03:56:56 UTC 2010


#11873: Contributors can restore posts trashed by editors
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Trash         |     Version:  2.9
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by scribu):

 Currently a contributor can see the contents of the trash, so I guess that
 should be addressed too.

 How about a new capability: current_user_can('use_trash'). I think it
 would simplify a lot of the code related to Trash.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11873#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list