[wp-trac] Re: [WordPress Trac] #3683: It is possible to create multiple categories with the same name and same slug

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 11 21:13:28 GMT 2007


#3683: It is possible to create multiple categories with the same name and same
slug
--------------------------------------+-------------------------------------
 Reporter:  johnbillion               |        Owner:  rob1n   
     Type:  defect                    |       Status:  assigned
 Priority:  high                      |    Milestone:  2.3     
Component:  Administration            |      Version:  2.1     
 Severity:  major                     |   Resolution:          
 Keywords:  dev-feedback 2nd-opinion  |  
--------------------------------------+-------------------------------------
Comment (by jhodgdon):

 As of [5243], the behavior has been changed (I think it actually changed
 in [5148]).

 Currently, what happens is that if you try to add a category with the same
 slug as an existing category, the code treats it as an update on the
 original category. However, on the screen it still says "added category
 abc", which is incorrect since all that happened was it updated existing
 category abc.

 But anyway it is now impossible to add a category with the same slug as an
 existing category. Same name is still possible, but shouldn't cause any
 major difficulties (I tested this and didn't see any problems).

 In my opinion, however, the existing behavior is undesirable.

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


More information about the wp-trac mailing list