-
Type:
Bug
-
Resolution: Unresolved
-
Affects Version/s: None
-
Component/s: Editor general
-
High
-
None
-
Enabling plugins now refreshes cached frontend and localization data automatically to prevent stale translation data and JavaScript loading errors.
-
None
-
Emptyshow more show less
problem
When a plugin is enabled via t5 plugin:enable, the application cache is not cleared automatically. This can leave translation and frontend data outdated and cause JavaScript loading errors because expected l10n data structures are missing.
solution
After successfully enabling a plugin, trigger the same cache cleanup as t5 cache:purge or reuse the existing cache purge service directly in the plugin enable command. Ensure plugin-provided localization and frontend data are refreshed after activation.