[wp-trac] [WordPress Trac] #9591: remove_accents() improvements for i18n permalinks (was: sanitize_title_with_dashes() and remove_accents() improvements for i18n permalinks)
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 25 20:32:31 UTC 2010
#9591: remove_accents() improvements for i18n permalinks
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: ryan
Type: enhancement | Status: reopened
Priority: high | Milestone: 3.1
Component: Permalinks | Version: 3.0.1
Severity: minor | Resolution:
Keywords: early has-patch |
-------------------------------+--------------------------------------------
Changes (by jose.geraldo):
* version: 2.8 => 3.0.1
* type: defect (bug) => enhancement
* severity: normal => minor
Comment:
Suggestion to improve remove_accents
insert at line 537 in wp-includes/formatting.php (inside remove_accents
function) the following code
// Special ordinals
chr(194).chr(170) => 'a',
chr(194).chr(176) => 'o', chr(194).chr(186) => 'o',
It deals with ordinals in portuguese/spanish post/page titles in order to
create a correct slug url (404 page not found error instead).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9591#comment:47>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list