[wp-trac] [WordPress Trac] #11073: Comment Status for Posts in the Trash

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 5 20:14:12 UTC 2009


#11073: Comment Status for Posts in the Trash
--------------------------+-------------------------------------------------
 Reporter:  mtdewvirus    |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  2.9           
Component:  Comments      |     Version:  2.9           
 Severity:  normal        |    Keywords:  comments,trash
--------------------------+-------------------------------------------------

Comment(by westi):

 11073.3.diff comments:

  * {{{_wp_trash_meta_comment_status}}} should be
 {{{_wp_trash_meta_comments_status}}} as it is for more than one comment.
  * Code has a race condition between collecting the comments to be
 post_trashed and the post_trashing - any comments which arrive between
 that period will have there status lost which could be an issue on high
 volume sites - they would lost on restore as we treat the post_meta as
 gold

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


More information about the wp-trac mailing list