[wp-trac] Re: [WordPress Trac] #5034: Impossible to have duplicate category slugs with different parents

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 20:41:11 GMT 2007


#5034: Impossible to have duplicate category slugs with different parents
-----------------------+----------------------------------------------------
 Reporter:  snakefoot  |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.3      
Component:  General    |      Version:  2.3      
 Severity:  normal     |   Resolution:           
 Keywords:  tags       |  
-----------------------+----------------------------------------------------
Comment (by snakefoot):

 Would it be possible to change the term_taxonomy table so the unique key
 is
 "term_id + taxonomy + parent" ? (Instead of "term-id + taxonomy")

 Then would be a matter of correcting the upgrade function, so it would
 create multiple entries in the term_taxonomy table if several category is
 has similar name but different parents.

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


More information about the wp-trac mailing list