| @@ -1,9 +1,9 @@ | ||
| 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: 3.2 | |
| 5 | + Version: 3.3 | |
| 6 | 6 | Author: Matteo Enna |
| 7 | 7 | Author URI: https://matteoenna.it/it/wordpress-work/ |
| 8 | 8 | Text Domain: easy-basic-authentication |
| 9 | 9 | License: GPL2 |
| @@ -14,5 +14,7 @@ | ||
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | require_once (dirname(__FILE__).'/class/easy-basic-authentication-class.php'); |
| 17 | 17 | |
| 18 | - $scb = new easy_basic_authentication_class(); | |
| 18 | + add_action('plugins_loaded', function () { | |
| 19 | + new easy_basic_authentication_class(); | |
| 20 | + }); | |