[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 09:02:40 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 azaozz):

 Replying to [comment:3 nacin]:
 > Took a slightly different route, patch attached.

 Doing this directly with SQL would bypass the API and all hooks (although
 it may be acceptable in this case). Going through the API may be slower
 but would let plugins run too.

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


More information about the wp-trac mailing list