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

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 1 23:40:15 UTC 2010


#9591: sanitize_title_with_dashes() and remove_accents() improvements for i18n
permalinks
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  ryan    
     Type:  defect (bug)       |       Status:  reopened
 Priority:  high               |    Milestone:  3.0     
Component:  Permalinks         |      Version:  2.8     
 Severity:  normal             |   Resolution:          
 Keywords:  has-patch          |  
-------------------------------+--------------------------------------------
Changes (by scribu):

  * keywords:  needs-patch => has-patch


Comment:

 Currently, the two slugs bellow match the same post:

 le-slug

 lé-șlüg

 Depending on the language, this might or might not make sense.

 To solve the accents issue, we need to have two contexts for
 sanitize_title: one for storing a slug and one for retrieving a post,
 based on a slug.

 See 9591.diff

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


More information about the wp-trac mailing list