Title: Blocking CMP after update
Last modified: March 15, 2024

---

# Blocking CMP after update

 *  Resolved [syrill](https://wordpress.org/support/users/syrill/)
 * (@syrill)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/blocking-cmp-after-update/)
 * Hello, since your latest patch, the plugin is blocking our CMP Didomi due following
   error:
   (index):62 Refused to load the script ‘[https://sdk.privacy-center.org/69e92650-bebd-4d74-aadc-fe18153d6003/loader.js?target=www.sz-schluesselfinder.de&#8217](https://sdk.privacy-center.org/69e92650-bebd-4d74-aadc-fe18153d6003/loader.js?target=www.sz-schluesselfinder.de&#8217);
   because it violates the following Content Security Policy directive: “script-
   src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ [https://hcaptcha.com](https://hcaptcha.com)
   [https://*.hcaptcha.com&#8221](https://*.hcaptcha.com&#8221);. Note that ‘script-
   src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.
 * hCaptcha is currently blocking A LOT of other plugins. I’ll keep it enabled on
   that page for you to test, but have to disable it on all of our other pages.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblocking-cmp-after-update%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/blocking-cmp-after-update/#post-17502800)
 * Hello,
 * It is my bug and I apologize for the inconvenience. To fix it, you can comment
   line 153 in Main.php.
   //add_filter( ‘wp_headers’, [ $this, ‘csp_headers’ ] );
   I will release the hotfix shortly. Thank you for the report.
 *  Thread Starter [syrill](https://wordpress.org/support/users/syrill/)
 * (@syrill)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/blocking-cmp-after-update/#post-17502811)
 * I’ll rather wait for the hotfix, since we got a few pages I’d have to edit the
   plugin code on.
 * Thanks for the quick reply, I’ll check back later
 *  Plugin Contributor [kaggdesign](https://wordpress.org/support/users/kaggdesign/)
 * (@kaggdesign)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/blocking-cmp-after-update/#post-17502970)
 * I have released the hotfix. Please check and let me know.
 *  Thread Starter [syrill](https://wordpress.org/support/users/syrill/)
 * (@syrill)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/blocking-cmp-after-update/#post-17503001)
 * It’s working again – thanks for the quick help 🙂
    -  This reply was modified 2 years, 2 months ago by [syrill](https://wordpress.org/support/users/syrill/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Blocking CMP after update’ is closed to new replies.

 * ![](https://ps.w.org/hcaptcha-for-forms-and-more/assets/icon.svg?rev=3026321)
 * [hCaptcha for WP](https://wordpress.org/plugins/hcaptcha-for-forms-and-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hcaptcha-for-forms-and-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/)
 * [Active Topics](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hcaptcha-for-forms-and-more/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [syrill](https://wordpress.org/support/users/syrill/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/blocking-cmp-after-update/#post-17503001)
 * Status: resolved