Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#9534 closed defect (bug) (duplicate)

ș and ț characters not converted in remove_accents()

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

Description

ș 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 17 years ago.
9534.diff (5.2 KB ) - added by scribu 16 years ago.
ground work

Download all attachments as: .zip

Change History (8)

@scribu
17 years ago

#1 @scribu
17 years ago

  • Cc scribu@… added

#2 @ryan
17 years ago

  • Component GeneralPermalinks
  • 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
17 years ago

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

#4 @ryan
17 years ago

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

#5 @Denis-de-Bernardy
17 years ago

  • Milestone 2.8Future Release

#6 @Denis-de-Bernardy
17 years ago

  • Milestone Future Release
  • Resolutionduplicate
  • Status newclosed

See #9591

@scribu
16 years ago

ground work

Note: See TracTickets for help on using tickets.