wp_register_style error
-
When I activate the plugin I get this warning at the top of every page:
wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks.
I think it’s because the plugin calls wp_register_style directly instead of inside of an admin_enqueue_scripts action.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_register_style error’ is closed to new replies.