• Resolved campusboy

    (@campusboy1987)


    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)
  • Plugin Author Amit Singh

    (@apprimit)

    Hello,

    Thank you very much for pointing this issue. We will surely check it on our end.

    Plugin Author oceanwp

    (@oceanwp)

    Hello, thanks, I totally understand and I have added wp_dequeue_style before wp_deregister_style, to fix this issue, you will tell me if everything is good on the next plugin release.
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_enqueue_style() and wp_deregister_style()’ is closed to new replies.