[wp-trac] [WordPress Trac] #11156: Duplicate tag created if tag name contains ampersand

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 16 21:51:37 UTC 2009


#11156: Duplicate tag created if tag name contains ampersand
--------------------------+-------------------------------------------------
 Reporter:  sillybean     |       Owner:  filosofo                
     Type:  defect (bug)  |      Status:  new                     
 Priority:  normal        |   Milestone:  Unassigned              
Component:  Taxonomy      |     Version:  2.9                     
 Severity:  normal        |    Keywords:  tags, autocomplete, ajax
--------------------------+-------------------------------------------------
 This is undoubtedly an edge case, but here's what happened:

 1. I created a tag with a long name that contained an ampersand. Gave it a
 shorter slug than the one WP generated.

 2. Tagged some posts.

 3. While the server was running slow, the autocomplete never came up, and
 I tagged another post by cutting and pasting the tag name from another
 screen.

 That resulted in a new tag being created with a longer WP-generated slug,
 instead of the post getting tagged with my older existing tag.

 This happened a few times (the server in question is REALLY slow), and I
 finally realized that the only tags that were incorrectly duplicated were
 the ones with ampersands.

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


More information about the wp-trac mailing list