#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 (2)
Change History (8)
comment:2
ryan
— 4 years ago
- Component changed from General to Permalinks
- Owner changed from anonymous to ryan
comment:3
scribu
— 4 years ago
But aren't slugs only created once and then stored and retrieved from the db?
comment:4
ryan
— 4 years ago
Incoming slugs (from permalink requests) are run through the sanitizer and they won't match the old slug.
comment:5
Denis-de-Bernardy
— 4 years ago
- Milestone changed from 2.8 to Future Release
comment:6
Denis-de-Bernardy
— 4 years ago
- Milestone Future Release deleted
- Resolution set to duplicate
- Status changed from new to closed
See #9591
Note: See
TracTickets for help on using
tickets.
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.