Title: &#8216;self&#8217; vs &#8216;unsafe-inline&#8217;
Last modified: January 23, 2017

---

# ‘self’ vs ‘unsafe-inline’

 *  [MacGuru](https://wordpress.org/support/users/kevinknowdebtorg/)
 * (@kevinknowdebtorg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/self-vs-unsafe-inline/)
 * Trying to refine the policy, I removed ‘unsafe-inline’ from script-src. ‘self’
   remains in the policy. Then it started reporting the following:
 * Violated Directive Blocked URL Count Action
    script-src           self       
   6
 * It stops when I put ‘unsafe-inline’ back in.
 * What am I missing?

The topic ‘‘self’ vs ‘unsafe-inline’’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-content-security-policy_ffffff.
   svg)
 * [WP Content Security Plugin](https://wordpress.org/plugins/wp-content-security-policy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-content-security-policy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-content-security-policy/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-content-security-policy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-content-security-policy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-content-security-policy/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [MacGuru](https://wordpress.org/support/users/kevinknowdebtorg/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/self-vs-unsafe-inline/)
 * Status: not resolved