[wp-trac] [WordPress Trac] #10821: Taxonomy problem with deleting posts

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 30 17:59:50 UTC 2009


#10821: Taxonomy problem with deleting posts
--------------------------+-------------------------------------------------
 Reporter:  pavelevap     |       Owner:  filosofo   
     Type:  defect (bug)  |      Status:  new        
 Priority:  high          |   Milestone:  2.9        
Component:  Taxonomy      |     Version:  2.8        
 Severity:  major         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by miqrogroove):

  * keywords:  => needs-patch


Comment:

 See http://core.trac.wordpress.org/browser/trunk/wp-
 includes/post.php#L1189

 {{{
 /** @todo delete for pluggable post taxonomies too */
 wp_delete_object_term_relationships($postid, array('category',
 'post_tag'));
 }}}

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


More information about the wp-trac mailing list