Make WordPress Core

Opened 3 years ago

Last modified 5 weeks ago

#22296 new defect (bug)

Better internationalization support for tags

Reported by: exz Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4
Component: Taxonomy Keywords: needs-patch
Focuses: Cc:


When playing around with tags I've found a couple of things that doesn't work as expected when dealing with names that have non-english characters.

The two problems I've found are that single non a-z chars doesn't seem to work at all, and when two tags are the same except for one character which is non a-z, they seem to collide. One example of this is that you're unable to use the tags "for" and "för" together.

I'm not sure if this is something that WordPress is supposed to support but I've got a use case for it and would like to raise the question.

Here's some tests which shows the problem: https://gist.github.com/3964335

Oddly enough you seem to be able to add the single non a-z tags from the dedicated tags page, but you're still unable to use them in any post.

Change History (5)

comment:1 follow-up: @ocean903 years ago

  • Keywords tags internationalization terms removed

You should be able to have "för" and "for" together. The slugs would be "for" and "for-2".

The issue exists on the edit page, right? I can add "for" and "för" in the metabox but after saving the post only "för" remains.

comment:2 @ocean903 years ago

Tracked down to term_exists.

Related: #18625

comment:3 in reply to: ↑ 1 @SergeyBiryukov3 years ago

Related: #16567

comment:4 @wonderboymusic2 years ago

  • Keywords needs-patch added

comment:5 @chriscct75 weeks ago

  • Severity changed from minor to normal
  • Type changed from enhancement to defect (bug)
  • Version changed from 3.4.2 to 3.4
Note: See TracTickets for help on using tickets.