Title: CSP avoid unsafe-inline for script-src
Last modified: August 27, 2022

---

# CSP avoid unsafe-inline for script-src

 *  Resolved [schalemanie](https://wordpress.org/support/users/schalemanie/)
 * (@schalemanie)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/csp-avoid-unsafe-inline-for-script-src/)
 * Dear Forum members,
 * I have added some CSP headers for my page and wanted to avoided enabeling ‘unsafe-
   inline’ for script-src. If i leave the unsafe-inline option out in my evolve 
   theme i get error messages due not executed functions e.g. to missing variables(
   Uncaught ReferenceError: evolve_js_local_vars is not defined) which seem to be
   implemented as an inline script in the evolve theme.
 * Do you have any advise for me how i can used the evolve theme but still have 
   hte unsafe-inline option disabled?
 * Thank you very much
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcsp-avoid-unsafe-inline-for-script-src%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Avid Isaiah](https://wordpress.org/support/users/isaiah1/)
 * (@isaiah1)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/csp-avoid-unsafe-inline-for-script-src/#post-16024230)
 * Same Problem in my website how to sloved please know me
 * **Team **
    [Mattresses for low income](https://low-income-families.com/free-beds-for-low-income-families/)

Viewing 1 replies (of 1 total)

The topic ‘CSP avoid unsafe-inline for script-src’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/evolve/4.3.7/screenshot.png)
 * evolve
 * [Support Threads](https://wordpress.org/support/theme/evolve/)
 * [Active Topics](https://wordpress.org/support/theme/evolve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/evolve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/evolve/reviews/)

## Tags

 * [CSP](https://wordpress.org/support/topic-tag/csp/)
 * [inline script](https://wordpress.org/support/topic-tag/inline-script/)
 * [Unsafe-inline](https://wordpress.org/support/topic-tag/unsafe-inline/)

 * 1 reply
 * 2 participants
 * Last reply from: [Avid Isaiah](https://wordpress.org/support/users/isaiah1/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/csp-avoid-unsafe-inline-for-script-src/#post-16024230)
 * Status: resolved