| @@ -1,11 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | 3 | Plugin Name: Easy Basic Authentication |
| 4 | 4 | description: Enhance WordPress security with Easy Basic Authentication plugin. |
| 5 | - Version: 1.1 | |
| 5 | + Version: 3.3 | |
| 6 | 6 | Author: Matteo Enna |
| 7 | - Author URI: https://matteoenna.it | |
| 7 | + Author URI: https://matteoenna.it/it/wordpress-work/ | |
| 8 | 8 | Text Domain: easy-basic-authentication |
| 9 | 9 | License: GPL2 |
| 10 | 10 | */ |
| 11 | 11 | |
| @@ -13,6 +13,8 @@ | ||
| 13 | 13 | exit; |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | require_once (dirname(__FILE__).'/class/easy-basic-authentication-class.php'); |
| 17 | - | |
| 18 | - $scb = new easy_basic_authentication_class(); | |
| 17 | + | |
| 18 | + add_action('plugins_loaded', function () { | |
| 19 | + new easy_basic_authentication_class(); | |
| 20 | + }); | |