Wordpress/tests
Dominik Schilling (ocean90) 404c584956 I18N: Don't initialize `WP_Locale_Switcher` in `wp_load_translations_early()`.
`wp_load_translations_early()` is used when WordPress isn't fully initialized. Therefore using the `WP_Locale_Switcher` with `get_locale()`/`get_user_locale()` can cause PHP fatal errors.
This reverts [38976] and [38977], and instead removes `WP_Locale_Switcher` from `wp_load_translations_early()`.

See #29783.
Fixes #38535.

git-svn-id: https://develop.svn.wordpress.org/trunk@39005 602fd350-edb4-49c9-b593-d223f7449a82
2016-10-29 11:22:50 +00:00
..
phpunit I18N: Don't initialize `WP_Locale_Switcher` in `wp_load_translations_early()`. 2016-10-29 11:22:50 +00:00
qunit Customize: Ensure that qunit test enters in expected state and tests `wp.customize.dirtyValues` in starter content context. 2016-10-28 03:28:07 +00:00