Changes between Initial Version and Version 2 of Ticket #37113
- Timestamp:
- 06/16/2016 11:30:05 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37113
- Property Owner set to swissspidy
-
Property
Status
changed from
new
toassigned
-
Ticket #37113 – Description
initial v2 1 1 #34114 removed the requirement to call `load_plugin_textdomain()` or `load_theme_textdomain()` by checking the languages directory for available translation files. 2 2 3 However, as pointed out by @opajaap in the [https://wordpress.org/support/topic/duplicateunwanted-loading-of-plugin-textdomain support forums], `unload_textdomain()` does not work anymore because that. `_load_textdomain_just_in_time()` would simply load the text domain again and again.3 However, as pointed out by @opajaap in the [https://wordpress.org/support/topic/duplicateunwanted-loading-of-plugin-textdomain support forums], `unload_textdomain()` does not work anymore because of that. `_load_textdomain_just_in_time()` would simply load the text domain again and again. 4 4 5 5 We need some sorts of global array to keep track of unloaded text domains, which `_load_textdomain_just_in_time()` would ignore. Unloaded text domains would need to be loaded explicitly if one wants to use it again — like before.