[wp-trac] [WordPress Trac] #12766: commentmeta data orphaned when deleting a post from the trash

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 29 23:26:31 UTC 2010


#12766: commentmeta data orphaned when deleting a post from the trash
---------------------------+------------------------------------------------
 Reporter:  briancolinger  |       Owner:            
     Type:  defect (bug)   |      Status:  new       
 Priority:  normal         |   Milestone:  Unassigned
Component:  Comments       |     Version:            
 Severity:  normal         |    Keywords:            
---------------------------+------------------------------------------------
 Adding $force_delete param to wp_delete_comment().
 wp_delete_post() will now delete each comment individually using
 wp_delete_comment() with the $force_delete param set to true.

 This fixes and issue where related commentmeta is orphaned when deleting a
 post from the trash.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12766>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list