[wp-trac] [WordPress Trac] #12349: wp_insert_term doesn't check for already existing slugs if the slug is implicit

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 23 16:29:37 UTC 2010


#12349: wp_insert_term doesn't check for already existing slugs if the slug is
implicit
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  high          |   Milestone:  3.0      
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Expected: even if the slug of the new term isn't explicitly provided, but
 generated from the  term's name {{{wp_insert_term()}}} should check if it
 already exists.

 Actual: it doesn't. {{{wp_insert_term()}}} checks for existing slug only
 of it has it explicitly given as an argument.

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


More information about the wp-trac mailing list