Ticket #9534 (closed defect (bug): duplicate)
ș and ț characters not converted in remove_accents()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Permalinks | Version: | |
| Severity: | normal | Keywords: | formatting has-patch |
| Cc: | scribu@… |
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
Change History
- Owner changed from anonymous to ryan
- Component changed from General to Permalinks
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.
But aren't slugs only created once and then stored and retrieved from the db?
Incoming slugs (from permalink requests) are run through the sanitizer and they won't match the old slug.
- Status changed from new to closed
- Resolution set to duplicate
- Milestone Future Release deleted
See #9591
Note: See
TracTickets for help on using
tickets.

