wp_enqueue_script warning - thehazels wp_enqueue_script warning - thehazelsthehazels

wp_enqueue_script warning

Notice: wp_enqueue_script 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. Please see Debugging in WordPress for more information. (This message was added in version 3.3.)

This PHP notice warning appears if WP_DEBUG has been set to true. It will have been caused by a theme or plugin where a script has not been correctly enqueued. WordPress Codex page WP_ENQUEUE_SCRIPT gives examples of how it should be used.

About Antonia Whitaker

An administrative, sales and marketing background has given me an understanding of what users want from their website. I do not confuse issues with technical jargon and I listen to what people want.

07. January 2014 by Antonia Whitaker
Categories: Wordpress | Tags: , | Leave a comment

Leave a Reply

Required fields are marked *