[wp-trac] [WordPress Trac] #29131: Does not allow duplicate term slugs when using different cases

WordPress Trac noreply at wordpress.org
Wed Aug 6 13:32:46 UTC 2014


#29131: Does not allow duplicate term slugs when using different cases
--------------------------+------------------------------
 Reporter:  jpswade       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by jpswade):

 Try this:

 1. Go to Post>Category (/wp-admin/edit-tags.php?taxonomy=category)
 2. In the 'Name' field enter: Banana
 3. Press "Add New Category" button
 4. Go to Post>Tag (/wp-admin/edit-tags.php?taxonomy=post_tag)
 5. In the 'Name' field enter: Banana
 6. Press "Add New Tag" button
 7. Observe the 'Slug' is 'banana'
 8. Delete the tag 'Banana'
 9. Go to Post>Tag (/wp-admin/edit-tags.php?taxonomy=post_tag)
 10. In the 'Name' field enter: BANANA
 11. Press "Add New Tag" button
 12. Observe that the 'Slug' for the 'BANANA' Tag is 'banana-2'

 The case of the term does seem to matter as the results are different.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29131#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list