[wp-trac] [WordPress Trac] #12373: Problems with slugs - urldecode

WordPress Trac wp-trac at lists.automattic.com
Tue May 4 19:18:03 UTC 2010


#12373: Problems with slugs - urldecode
--------------------------+-------------------------------------------------
 Reporter:  bi0xid        |       Owner:                                                  
     Type:  defect (bug)  |      Status:  new                                             
 Priority:  normal        |   Milestone:  3.0                                             
Component:  Optimization  |     Version:                                                  
 Severity:  normal        |    Keywords:  urldecode slug permalink optimization validation
--------------------------+-------------------------------------------------

Comment(by nstielau):

 Not sure whether this should go in sanitize_title_with_dashes() or
 remove_accents().  On one hand, this is accent-like, so it could be
 removed in remove_accents().  On the other hand, this is really
 punctuation which should be stripped out, which happens in
 sanitize_title_with_dashes(), because remove_accents() is really just
 translating accented characters to non-accented characters.

 remove_accents() does remove the British Pound sign, so with that
 precedent, I'm removing these chars in remove_accents().

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


More information about the wp-trac mailing list