Warning messages in debug mode
-
I have WP_DEBUG set to true. wp_enqueue_scripts() is being called too early and this generates the warning messages.
To fix this, put the wp_enqueue_scripts() in a function that is run at the wp_enqueue_scripts action.
I have created a patch and it is at:
https://pastebin.com/BK1GEpV8
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Warning messages in debug mode’ is closed to new replies.