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

WordPress Trac noreply at wordpress.org
Tue Oct 18 21:46:47 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):

 Replying to [comment:80 ocean90]:
 > The changes are looking good so far but some tests are failing: https
 ://travis-ci.org/aaronjorbin/develop.wordpress/builds/168645925

 [attachment:26511.10.diff] addresses the undefined variable notices and
 the failing `test_restore_current_locale_without_switching()` test. Also
 uses `assertTrue( ! … )` everywhere instead of `assertFalse()` (might not
 be available on PHP 5.2).

 Note: to make the other tests pass, upload [attachment:de_DE.zip] with the
 po & mo files to your PR.

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


More information about the wp-trac mailing list