[wp-trac] [WordPress Trac] #39210: switch_to_locale() unloads all plugin and theme translations
WordPress Trac
noreply at wordpress.org
Thu Oct 20 16:19:23 UTC 2022
#39210: switch_to_locale() unloads all plugin and theme translations
-------------------------------------------------+-------------------------
Reporter: gchtr | Owner: ocean90
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.1
Component: I18N | Version: 4.7
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch needs-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
We have now already established that there's a bug here causing too many
calls to `load_textdomain()`. Simple as that. No need for detailed
performance analysis for other sites or anything.
We have also already established that ideally we fix this or revert this
if we can't fix it in the required time frame.
Good news is that I have a [https://github.com/WordPress/wordpress-
develop/pull/3506 draft PR] fixing this PR. It's like 99% complete.
Feel free to to check it out. I will continue looking into it myself when
my next workday commences.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39210#comment:71>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list