Support » Plugin: WP Custom Login » wp_register_style notice

  • Hello. Thanks for the useful plugin.
    Though I have an issue when I enable the WP Debug mode (WP_DEBUG = true). There is a notice:

    Notice: wp_register_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.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.0.) in C:\www\htdocs\feedgrab\wp-includes\functions.php on line 3996

    It would be great if it could be fixed.

  • The topic ‘wp_register_style notice’ is closed to new replies.