[wp-trac] [WordPress Trac] #39210: switch_to_locale() unloads all plugin and theme translations
WordPress Trac
noreply at wordpress.org
Wed Oct 21 20:18:41 UTC 2020
#39210: switch_to_locale() unloads all plugin and theme translations
-------------------------------------------------+-------------------------
Reporter: gchtr | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: I18N | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Comment (by kraftbj):
It may be good to mention the new `define( 'WP_PLUGIN_DIR', realpath(
DIR_TESTDATA . '/plugins' ) );` in the dev notes.
Over in Jetpack, we're re-configuring our testing setup
(https://github.com/Automattic/jetpack/pull/17570 for Travis and need to
do another for our Docker testing setup) since one of our tests relied on
a function chain that eventually calls `get_plugins`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39210#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list