| 1 |
<?php |
| 2 |
|
| 3 |
// We don't want to allow direct access to this |
| 4 |
defined('ABSPATH') or die('No direct script access allowed'); |
| 5 |
|
| 6 |
/* |
| 7 |
Plugin Name: Security Header Generator |
| 8 |
Description: Generates proper security headers for the front-end & admin of your site. |
| 9 |
Plugin URI: https://kevinpirnie.com/blog/2021/10/13/wordpress-plugin-security-header-generator/ |
| 10 |
Author: Kevin C. Pirnie |
| 11 |
Author URI: https://kevinpirnie.com/ |
| 12 |
Requires at least: 6.0.9 |
| 13 |
Requires PHP: 8.2 |
| 14 |
Version: 6.0.86 |
| 15 |
Text Domain: security-header-generator |
| 16 |
License: GPLv3 |
| 17 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html |
| 18 |
*/ |
| 19 |
|
| 20 |
// setup the full page to this plugin |
| 21 |
define('WPSH_PATH', dirname(__FILE__)); |
| 22 |
|
| 23 |
// setup the directory name |
| 24 |
define('WPSH_DIRNAME', basename(dirname(__FILE__))); |
| 25 |
|
| 26 |
// setup the primary plugin file name |
| 27 |
define('WPSH_FILENAME', basename(__FILE__)); |
| 28 |
|
| 29 |
// setup the plugin version |
| 30 |
define('WPSH_VERSION', '6.0.86'); |
| 31 |
|
| 32 |
// Require our primary |
| 33 |
require(dirname(__FILE__) . '/work/common.php'); |
| 34 |
|