[wp-trac] [WordPress Trac] #31617: Adding new term is not checking uniqueness of slug

WordPress Trac noreply at wordpress.org
Thu Mar 12 22:31:59 UTC 2015

#31617: Adding new term is not checking uniqueness of slug
 Reporter:  gjaworek      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  4.1
 Severity:  normal        |   Keywords:
  Focuses:                |
 I'm able to register several NEW terms in various taxonomies with the same
 When I try to edit it by quick edit, or full edit validation works
 correctly, this is only when registering new terms in different taxonomies
 with the same slug.
 When try to register new term with slug which is already existing in the
 same taxonomy, validation also works correctly.

 Steps to reproduce:
 1. Open two Add new term forms for different taxonomy
 2. Add term in first taxonomy
 3. Add the same term in second taxonomy
 4. Notice, both are created with the same slug without any prompt
 5. Pick one of them and in quick edit change slug to different
 6. Try to go back with slug name to the same as in other taxonomy - proper
 prompt that name is already in use will be shown
 7. Notice that at point 7 you are not able to create duplicated slug name,
 but on point 3 you achieved this in other way
 8. Just for fun, you can add 3th term with same slug in 3th taxonomy :)

Ticket URL: <https://core.trac.wordpress.org/ticket/31617>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list