[wp-trac] [WordPress Trac] #13481: wp_insert_term() doesn't return an error, if post_tag already exists

WordPress Trac wp-trac at lists.automattic.com
Fri May 21 16:05:06 UTC 2010


#13481: wp_insert_term() doesn't return an error, if post_tag already exists
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Taxonomy      |     Version:  2.9        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 {{{
 rboren > I bet its falling through down to 1649, where it returns the term
 without error.
 Without inserting.
 }}}

 Because of that, on Post Tags page, the tag will be added more then once.

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


More information about the wp-trac mailing list