[wp-trac] [WordPress Trac] #32939: Add filter for get_locale() in remove_accents()

WordPress Trac noreply at wordpress.org
Wed Jul 6 15:48:33 UTC 2022


#32939: Add filter for get_locale() in remove_accents()
-------------------------+-----------------------
 Reporter:  akirk        |       Owner:  Dualcube
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  6.0
Component:  I18N         |     Version:  4.3
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-docs good-first-bug has-patch needs-refresh close =>
     has-patch
 * status:  assigned => closed
 * resolution:   => fixed
 * milestone:  Future Release => 6.0


Comment:

 Replying to [comment:13 swissspidy]:
 > Since WordPress 6.0 the `remove_accents()` function now has a `$locale`
 parameter, which seems to solve this use case.

 Thanks! [52809] / #54415 is the relevant commit.

 Feel free to reopen if a filter is still needed here.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32939#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list