[wp-trac] [WordPress Trac] #39210: switch_to_locale() unloads all plugin and theme translations
WordPress Trac
noreply at wordpress.org
Thu Dec 15 13:54:22 UTC 2016
#39210: switch_to_locale() unloads all plugin and theme translations
--------------------------+------------------------------
Reporter: gchtr | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by yoavf):
[attachment:39210.diff] has a solution to this (very painful) problem.
This works by storing all paths from `load_plugin|theme|muplugin' and
attempting to load from there again.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39210#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list