[wp-trac] [WordPress Trac] #16905: sanitize_title calls remove_accents before applying filters

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 20 22:39:43 UTC 2011


#16905: sanitize_title calls remove_accents before applying filters
--------------------------+------------------------------
 Reporter:  texttheater   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by hakre):

 `$raw_title` is available as second parameter passed to the
 `sanitize_title` filter.

 AFAIK it has the original title and should help you to override any
 changes `remove_accent()` already has done.

 Isn't it suitable for your workarounds?

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


More information about the wp-trac mailing list