[wp-trac] [WordPress Trac] #11156: Duplicate tag created if tag name contains ampersand
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 19 08:05:46 UTC 2010
#11156: Duplicate tag created if tag name contains ampersand
--------------------------+-------------------------------------------------
Reporter: sillybean | Owner: filosofo
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Taxonomy | Version: 2.9
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Changes (by dd32):
* keywords: tags, autocomplete, ajax => needs-patch
* milestone: Unassigned => 3.1
Comment:
This might be caused by "Test & Slug" being stored as "Test & Slug" in
the terms table.
However, There is another side to this story.
Create a tag as such:
{{{
Name: Some Tag
Slug: st
}}}
Attempt to create another tag as such:
{{{
Name: Some Tag
Slug:
}}}
Result will be a second tag created with 'some-tag' as the slug, as the
name is ignored in the comparison, its only checked to see if another term
exists matching that slug (be it provided, or automatically generated)
That testing is done from the Manage -> Tags screen, but its most likely
also the underlying cause of the Tag additions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11156#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list