[wp-trac] [WordPress Trac] #26511: Introduce a locale-switching function

WordPress Trac noreply at wordpress.org
Sun Oct 23 10:02:52 UTC 2016


#26511: Introduce a locale-switching function
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  swissspidy
     Type:  feature request                      |      Status:  accepted
 Priority:  high                                 |   Milestone:  4.7
Component:  I18N                                 |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 In [attachment:26511.12.diff]:

 * Make `in_array()` check strict.
 * Fix filter in `default-filters.php`.

 @ocean90 Thanks for investigating the infinite loop. Unfortunately I don't
 have an older PHP version handy right now, but it sounds like #37997 would
 have an effect on this.

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


More information about the wp-trac mailing list