| 1 |
<?php |
| 2 |
/** |
| 3 |
* XO Security plugin for WordPress |
| 4 |
* |
| 5 |
* @package xo-security |
| 6 |
* @author ishitaka |
| 7 |
* @license GPL-2.0-or-later |
| 8 |
* |
| 9 |
* @wordpress-plugin |
| 10 |
* Plugin Name: XO Security |
| 11 |
* Plugin URI: https://xakuro.com/wordpress/xo-security/ |
| 12 |
* Description: XO Security is a plugin to enhance login related security. |
| 13 |
* Version: 3.11.0 |
| 14 |
* Requires at least: 6.0 |
| 15 |
* Requires PHP: 7.2 |
| 16 |
* Author: Xakuro |
| 17 |
* Author URI: https://xakuro.com/ |
| 18 |
* License: GPL v2 or later |
| 19 |
* Text Domain: xo-security |
| 20 |
* Domain Path: /languages |
| 21 |
*/ |
| 22 |
|
| 23 |
if ( ! defined( 'ABSPATH' ) ) { |
| 24 |
exit; |
| 25 |
} |
| 26 |
|
| 27 |
define( 'XO_SECURITY_VERSION', '3.11.0' ); |
| 28 |
define( 'XO_SECURITY_URL', plugins_url( '', __FILE__ ) ); |
| 29 |
define( 'XO_SECURITY_DIR', __DIR__ ); |
| 30 |
|
| 31 |
require_once __DIR__ . '/inc/class-xo-security.php'; |
| 32 |
|
| 33 |
$xo_security = new XO_Security(); |
| 34 |
|
| 35 |
register_activation_hook( __FILE__, 'XO_Security::activation' ); |
| 36 |
register_uninstall_hook( __FILE__, 'XO_Security::uninstall' ); |
| 37 |
register_deactivation_hook( __FILE__, 'XO_Security::deactivation' ); |
| 38 |
|