Changes between Initial Version and Version 1 of Ticket #39210, comment 17
- Timestamp:
- 02/11/2019 09:48:50 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39210, comment 17
initial v1 7 7 `add_filter( 'change_locale', function() { $GLOBALS['l10n_unloaded'] = array(); } );``` 8 8 9 Another would be a core change like [attachment:"39210.3.diff"] which adds a flag to `unload_textdomain()` to allow the language switcher to indicate that the localecan be reloaded if needed by `_load_textdomain_just_in_time()`.9 Another would be a core change like [attachment:"39210.3.diff"] which adds a flag to `unload_textdomain()` to allow the language switcher to indicate that the textdomain can be reloaded if needed by `_load_textdomain_just_in_time()`. 10 10 11 11 [attachment:"39210.3.diff"] doesn't attempt to fix the scenario where a theme/plugin is loading it's own translations, just the WordPress.org-provided translations. @ocean90 what do you think about at least adding that?