Title: Cannot delete values for directives
Last modified: November 28, 2018

---

# Cannot delete values for directives

 *  [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/cannot-delete-values-for-directives/)
 * Using ver.
    On the CSP Options tab I am no longer able to delete values I had
   set for various directives. For example, I had set style-src and img-src (and
   others) to ‘self’. Now, if I erase these values and save the record, they are
   immediately displayed again, as if I had deleted nothing at all. I note, too,
   that I cannot set the value of frame-src to anything. Once again, I type a value,
   like ‘self’, save, and the field comes up blank! I am not using a caching plugin.
   This is not a browser issue, the same behavior occurs in both Firefox and Chrome.
   Furthermore, there are all sorts of errors in the web server log, such as: `PHP
   Notice: Undefined index: tab in /blahblah/wp-content/plugins/http-security/include/
   settings.php on line 66, referer: https://mysite.com/wp-admin/` `PHP Notice: 
   has_cap was called with an argument that is <strong>deprecated</strong> since
   version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. 
   in /blahbalah/blog/wp-includes/functions.php on line 4045, referer: https://mysite.
   com/wp-admin/options-general.php?page=http-security`

The topic ‘Cannot delete values for directives’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/http-security.svg)
 * [HTTP headers to improve web site security](https://wordpress.org/plugins/http-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/http-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/http-security/)
 * [Active Topics](https://wordpress.org/support/plugin/http-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/http-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/http-security/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/cannot-delete-values-for-directives/)
 * Status: not resolved