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

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 25 01:09:43 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):

 Looking at delete-post.3.diff:

  * There's no "Quarantine" for comments, they are either pending, spam or
 deleted. Think that's confusing. The button text should probably be
 "Delete all spam" or possibly "Permanently delete all".

  * Think it's acceptable to hide all comments on posts that are in the
 Trash but perhaps the user should be made aware that the comments will be
 deleted together with the post (currently that's not clear either).

  * We probably can delete attachments the same way like posts but it would
 need a warning that if a post has direct link to this attachment, the link
 will break.

  * There's a problem with parent/child settings: moving a post to the
 Trash could still keep it as parent for any attachments; deleting it would
 set them with parent = 0. The same won't work for pages. Moving a page to
 the Trash should probably reassign any children to the parent's parent if
 any or make them top level (or they will be inaccessible). Currently
 that's the case when permanently deleting a page. However if we do that
 when moving to Trash, restoring a parent will be problematic as it won't
 go back to the same place in the hierarchy.

 There's also the question about not breaking plugins that add different
 post statuses.

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


More information about the wp-trac mailing list