[wp-trac] Re: [WordPress Trac] #9335: Child categories error out as duplicates even if slugs and parent categories are different

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 15 02:33:59 GMT 2009


#9335: Child categories error out as duplicates even if slugs and parent
categories are different
----------------------------+-----------------------------------------------
 Reporter:  mofoq           |       Owner:  anonymous
     Type:  defect (bug)    |      Status:  new      
 Priority:  normal          |   Milestone:  2.8      
Component:  Administration  |     Version:  2.7.1    
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------

Comment(by mofoq):

 Replying to [comment:3 zeronex]:
 > I think categories with similar name should only be allowed if the
 parents are different and have different slugs. Well even if slugs are
 same URL will be different.[[BR]]

 I agree, but I was just a tad too lazy to implement that fully :p
 I hope that the full fix that gets implemented does just this.

 One thing I do foresee is the possible conflicts with some internal
 functions that rely solely on the cat_name instead of the ID (for
 instance: get_cat_ID() ).

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


More information about the wp-trac mailing list