wp_enqueue_style() and wp_deregister_style()
-
Hello. Thank you very much for the plugin!
I get an error when debagging the Query Monitor plugin that the theme ” OceanWP “is trying to display styles with id “oceanwp-woocommerce” and “slick”. The fact is that the theme uses the wp_enqueue_style() function, and in the plugin they are canceled not through wp_dequeue_style(), but through wp_deregister_style(). This is logically incorrect and generates such an error.
Am I speaking correctly?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_enqueue_style() and wp_deregister_style()’ is closed to new replies.