This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Content Security Policy | |
* Version: 1.0.1 | |
* Description: Adds a Content-Security-Policy header to all non-admin requests. | |
* Requires PHP: 8.1 | |
* Requires at least: 5.7.0 | |
* License: GNU General Public License v2 | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
* Original Inspiration: https://gist.github.com/westonruter/c8b49406391a8d86a5864fb41a523ae9 |
OlderNewer