load_plugin_textdomain() being called too early
-
Hi,
This is David from the WPML compatibility team. We got reports about translations not being displayed when your plugin is enabled and chased it down to the fact that load_plugin_textdomain() is being called too early.
According to the codex, we should be calling it as early as the init action:
https://codex.ww.wp.xz.cn/Function_Reference/load_plugin_textdomainCan you incorporate this change in a future release?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘load_plugin_textdomain() being called too early’ is closed to new replies.