[wp-trac] [WordPress Trac] #9591: remove_accents() improvements for i18n permalinks

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 24 17:54:29 UTC 2010


#9591: remove_accents() improvements for i18n permalinks
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  ryan
     Type:  enhancement        |      Status:  reopened
 Priority:  high               |   Milestone:  Future Release
Component:  Permalinks         |     Version:  3.0.1
 Severity:  minor              |  Resolution:
 Keywords:  3.2-early          |
-------------------------------+-----------------------------
Changes (by shaneiseminger):

 * cc: shaneiseminger (added)


Comment:

 As of 3.03: when a title has smart quotes, the sanitization happens
 halfway: they are converted to dumb quotes but are not stripped out. The
 permalink then contains dumb quotes which of course breaks it.

 Dumb quotes are stripped correctly.

 A little experimention also indicates that remove_accents() does not
 convert ø  -- chr(216) and chr(248) -- I know it's not technically an
 accented character but it seems like this would be the intent.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9591#comment:59>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list