[wp-trac] [WordPress Trac] #15008: Deleting a category can orphan posts from the term_relationships table

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 3 02:55:21 UTC 2010


#15008: Deleting a category can orphan posts from the term_relationships table
--------------------------+-------------------------------------------------
 Reporter:  blepoxp       |       Owner:  blepoxp             
     Type:  defect (bug)  |      Status:  new                 
 Priority:  normal        |   Milestone:  3.1                 
Component:  Taxonomy      |     Version:  3.0                 
 Severity:  normal        |    Keywords:  has-patch regression
--------------------------+-------------------------------------------------

Comment(by nacin):

 Replying to [comment:6 dd32]:
 > Can we abstract that functionality out of wp_delete_term() perhaps?
 >
 > eg, An action fired within wp_delete_term() which has a functon hooked
 to manage the category weirdness's?

 That should probably be done across the board in #11576 for all CRUD
 actions, not just delete.

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


More information about the wp-trac mailing list