Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#9534 closed defect (bug) (duplicate)

ș and ț characters not converted in remove_accents()

Reported by: scribu's profile scribu Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: formatting has-patch
Focuses: Cc:


ș and ț, which are the correct diacritic marks in Romanian, are not converted by the remove_accents() function, which leads to ugly slugs.

This patch fixes that.

Attachments (2)

accents.patch (573 bytes) - added by scribu 14 years ago.
9534.diff (5.2 KB) - added by scribu 13 years ago.
ground work

Download all attachments as: .zip

Change History (8)

14 years ago

#1 @scribu
14 years ago

  • Cc scribu@… added

#2 @ryan
14 years ago

  • Component changed from General to Permalinks
  • Owner changed from anonymous to ryan

Note that we can't change the sanitizer at all until we have a means of handling slugs made with older versions of the sanitizer. Right now, sanitizer changes will cause old slugs to 404.

#3 @scribu
14 years ago

But aren't slugs only created once and then stored and retrieved from the db?

#4 @ryan
14 years ago

Incoming slugs (from permalink requests) are run through the sanitizer and they won't match the old slug.

#5 @Denis-de-Bernardy
14 years ago

  • Milestone changed from 2.8 to Future Release

#6 @Denis-de-Bernardy
14 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #9591

13 years ago

ground work

Note: See TracTickets for help on using tickets.