The plugin load CSS resource without consideration subdomain specified for actual language:
The YARPP_URL uses plugins_url() function incorrectly in the global context on the main plugin file. So it’s trying to load CSS file from wrong domain.
The plugins_url() function should not be called in the global context of plugins, but rather in a hook like “init” or “admin_init” to ensure that the “plugins_url” filters are already hooked at the time the function is called.
- The topic ‘support for multilingual’ is closed to new replies.