[wp-trac] [WordPress Trac] #11442: Untrashed comments could be deleted by wp_scheduled_delete()

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 15 19:00:24 UTC 2009


#11442: Untrashed comments could be deleted by wp_scheduled_delete()
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  2.9      
Component:  Trash         |     Version:  2.9      
 Severity:  blocker       |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by caesarsgrunt):

  * keywords:  => has-patch


Comment:

 I think 11442.4.diff fixes the problem satisfactorily.

 This could, of course, be taken one step further by merging
 {{{wp_trash_comment}}}, {{{wp_untrash_comment}}}, {{{wp_spam_comment}}},
 and {{{wp_unspam_comment}}} into {{{wp_set_comment_status}}} altogether.

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


More information about the wp-trac mailing list