[wp-trac] Re: [WordPress Trac] #6313: When you have a custom tag
slug, it will duplicate tags
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 3 22:20:56 GMT 2008
#6313: When you have a custom tag slug, it will duplicate tags
-----------------------+----------------------------------------------------
Reporter: tai | Owner: mtekk
Type: defect | Status: assigned
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------+----------------------------------------------------
Changes (by mtekk):
* keywords: => has-patch
Comment:
Ok, so the problem was not just related to UTF-8 characters, it was a
space added in between a comma by in taxonomy.php located in wp-
admin/includes on line 136.
Originally:
{{{
$tags_to_edit = join( ', ', $tag_names );
}}}
Changing that line to:
{{{
$tags_to_edit = join( ',', $tag_names );
}}}
seems to fix things. Was there any reason that there was a space in there?
This gets rid of all custom tag slugs causing two tags being created
problems.
--
Ticket URL: <http://trac.wordpress.org/ticket/6313#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list