Registering enqueued CSS styles
-
Please fix the way how you enqueue styles in the plugin, because it’s not standard:
wp_enqueue_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.0.)
in cuwp.php line 19:
wp_enqueue_style('cuwp-style', plugins_url('create-user-with-password-multisite/css/style.css'));
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Registering enqueued CSS styles’ is closed to new replies.