[wp-trac] [WordPress Trac] #22153: Duplicate Category and Tag Name

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 10 16:23:40 UTC 2012


#22153: Duplicate Category and Tag Name
-----------------------------+--------------------------
 Reporter:  alogblog         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Taxonomy
  Version:  3.4.2            |   Severity:  major
 Keywords:                   |
-----------------------------+--------------------------
 Add a new Tag, for example, "Car". Then it's default slug becomes "car".

 And then add a new Category named "Car", which is same to above tag name.

 I think its default category slug has to be "car-1", but resulting slug is
 "car".

 I read below documentation in ''function wp_unique_term_slug($slug,
 $term);''

 '''"The $slug has to be unique global to every taxonomy, meaning that one
 taxonomy term can't have a matching slug with another taxonomy term."'''

 Is it bug?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22153>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list