[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 21:56:04 GMT 2007


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

 Just peeked at some of the category code, and it seems there is some kind
 of conversion from the taxonomy + terms table to the old category format.

 Sadly enough it expects a one to one relationship between the taxonomy and
 terms table, and gets angry when two different taxonomy entries points to
 the same term (Just tried to change the unique index to see what
 happened). It seems to use the id of the term to identify the category,
 where it probably should use the id from the taxonomy table.

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


More information about the wp-trac mailing list