[wp-trac] [WordPress Trac] #4529: "Trash" status for comments and posts

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 18 22:12:27 UTC 2009


#4529: "Trash" status for comments and posts
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  caesarsgrunt
     Type:  task (blessed)  |      Status:  accepted    
 Priority:  normal          |   Milestone:  2.9         
Component:  Administration  |     Version:              
 Severity:  normal          |    Keywords:  has-patch   
----------------------------+-----------------------------------------------

Comment(by azaozz):

 Not sure we need the capabilities changes in the last patch. When a post
 has 'trash' status, it's not published any more and it doesn't make a
 difference if it used to be published or not.

 The 'trash' status seems close to the 'draft' status (post is not
 displayed on the front-end, etc.) and should have the same cap checks as
 when deleting a post. Once a post is in the trash it is 'unpublished' and
 the cap check can be the same as when deleting a draft (i.e. no changes
 are needed in capabilities.php).

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


More information about the wp-trac mailing list