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

WordPress Trac noreply at wordpress.org
Wed Jul 6 15:39:46 UTC 2022


#32939: Add filter for get_locale() in remove_accents()
-------------------------------------------------+-------------------------
 Reporter:  akirk                                |       Owner:  Dualcube
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  I18N                                 |     Version:  4.3
 Severity:  normal                               |  Resolution:
 Keywords:  needs-docs good-first-bug has-patch  |     Focuses:
  needs-refresh close                            |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  needs-docs good-first-bug has-patch needs-refresh => needs-
     docs good-first-bug has-patch needs-refresh close


Comment:

 Since WordPress 6.0 the `remove_accents()` function now has a `$locale`
 parameter, which seems to solve this use case.

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


More information about the wp-trac mailing list