[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 20:28:14 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
--------------------------+-------------------------------------------------

Comment(by scribu):

 Replying to [comment:16 nacin]:
 > Patch 5: I actually liked the simple wp_(action)_comment() functions as
 an API. They've also been around long enough in beta that removing them
 might be a compat issue. Combining them I suppose makes sense though.

 Agree: the wp_(action)_comment() functions should stay, even though
 they're just wrappers for wp_set_comment_status().

 > Do we add back all sorts of pre- and post- actions?

 Absolutely.

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


More information about the wp-trac mailing list