[wp-trac] [WordPress Trac] #20850: Duplicate term insertion allowed after insertion with case differences

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 8 20:20:39 UTC 2012


#20850: Duplicate term insertion allowed after insertion with case differences
------------------------------------+------------------------------
 Reporter:  jazbek                  |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Taxonomy                |     Version:  3.3.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by kurtpayne):

 Replying to [comment:4 DrewAPicture]:
 > Probably because you can't have duplicate slugs

 It looks like a unique slug is already picked via:

 `$slug = wp_unique_term_slug($slug, (object) $args);`

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


More information about the wp-trac mailing list