[wp-trac] [WordPress Trac] #37113: unload_textdomain() not working for text domains that are loaded just in time
WordPress Trac
noreply at wordpress.org
Thu Jun 23 14:47:47 UTC 2016
#37113: unload_textdomain() not working for text domains that are loaded just in
time
--------------------------------------+----------------------
Reporter: swissspidy | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-unit-tests has-patch | Focuses:
--------------------------------------+----------------------
Changes (by swissspidy):
* status: reviewing => closed
* resolution: => fixed
Comment:
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/37113#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list