[wp-trac] [WordPress Trac] #34114: Remove the requirement to call load_plugin_textdomain() or load_theme_textdomain()
WordPress Trac
noreply at wordpress.org
Thu Jun 23 14:47:49 UTC 2016
#34114: Remove the requirement to call load_plugin_textdomain() or
load_theme_textdomain()
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner: swissspidy
Type: enhancement | Status: closed
Priority: high | Milestone: 4.6
Component: I18N | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
needs-dev-note |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
In [changeset:"37855"]:
{{{
#!CommitTicketReference repository="" revision="37855"
I18N: Enable unloading of text domains that have been loaded just in time.
[37415] removed the requirement to call `load_plugin_textdomain()` /
`load_theme_textdomain()`. This caused `unload_textdomain()` to not work
properly anymore in these cases.
With this change, unloaded text domains need to be explicitly loaded
manually if you want to use them again.
Props swissspidy, ocean90.
Fixes #37113. See #34114.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34114#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list