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

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 20 21:26:25 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        |   Keywords:
 As of r15929, sanitize_title in formatting.php calls remove_accents
 directly. remove_accents used to be called in sanitize_title_with_dashes,
 which in turn is one of the default filters applied in sanitize_title. The
 change takes away the possibility for plugins to change the title using a
 filter ''before'' accents are removed, or to avoid removing accents

 One of the plugins broken by the change is my
 [http://wordpress.org/extend/plugins/german-slugs/ German Slugs].

 Related tickets:
  * #9591, where the change originated
  * #15248, where unsalkorkmaz has a similar complaint that could at least
 have been worked around before the change, now there seems to be no chance
 to do so using the plugin API
  * #9492, where the deeper issue with WordPress indiscriminately removing
 diacritics (that's right, not all diacritics are mere accents,
 remove_accents is a misnomer) is addressed. With that I think one can live
 – as long as it remains possible to fix it via the plugin API.

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

More information about the wp-trac mailing list