[wp-trac] Re: [WordPress Trac] #6545: When you have a custom tag
slug, it will duplicate tags
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 3 03:14:34 GMT 2008
#6545: When you have a custom tag slug, it will duplicate tags
----------------------+-----------------------------------------------------
Reporter: free8 | Owner: anonymous
Type: defect | Status: closed
Priority: high | Milestone:
Component: General | Version: 2.5
Severity: normal | Resolution: duplicate
Keywords: tag slug |
----------------------+-----------------------------------------------------
Comment (by mtekk):
Ok,I see what you're getting. And from rereading this and #6313, I'm sure
the same behavior of WordPress is causing both bugs. This is what I did. I
don't know UTF-8 characters, so I copied and pasted yours, I made a tag
under manage > tags. I named it as and 测试 used the slug foobar. Now in a
post if tag it 测试 it will create a new tag with the name 测试 and the slug
%e6%b5%8b%e8%af%95. If I were to enter in foobar as the tag for the post,
it will display 测试 as the tag. What's worse is if you resave the post it
will switch from the "foobar" slug tag to the %e6%b5%8b%e8%af%95 slug tag,
creating two tags. That's what you are seeing. Now I can do the same thing
using the tag Moo with the slug cow, resave it and I get Moo with the slug
moo. Thus it is not limited to UTF-8/Chinese character set only problem
and seems consistent with the findings of tai in #6313.
--
Ticket URL: <http://trac.wordpress.org/ticket/6545#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list