| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Defender |
| 4 | 4 | * Plugin URI: https://wpmudev.com/project/wp-defender/ |
| 5 | - * Version: 6.1.0 | |
| 5 | + * Version: 6.3.0 | |
| 6 | 6 | * Description: Get regular security scans, vulnerability reports, safety recommendations and customized hardening for your site in just a few clicks. Defender is the analyst and enforcer who never sleeps. |
| 7 | 7 | * Author: WPMU DEV |
| 8 | 8 | * Author URI: https://wpmudev.com/ |
| 9 | 9 | * License: GNU General Public License (Version 2 - GPLv2) |
| @@ -36,15 +36,15 @@ | ||
| 36 | 36 | if ( ! defined( 'ABSPATH' ) ) { |
| 37 | 37 | die; |
| 38 | 38 | } |
| 39 | 39 | if ( ! defined( 'DEFENDER_VERSION' ) ) { |
| 40 | - define( 'DEFENDER_VERSION', '6.1.0' ); | |
| 40 | + define( 'DEFENDER_VERSION', '6.3.0' ); | |
| 41 | 41 | } |
| 42 | 42 | if ( ! defined( 'DEFENDER_RELEASE_DATE' ) ) { |
| 43 | - define( 'DEFENDER_RELEASE_DATE', '2026-07-22' ); | |
| 43 | + define( 'DEFENDER_RELEASE_DATE', '2026-09-22' ); | |
| 44 | 44 | } |
| 45 | 45 | if ( ! defined( 'DEFENDER_DB_VERSION' ) ) { |
| 46 | - define( 'DEFENDER_DB_VERSION', '6.1.0' ); | |
| 46 | + define( 'DEFENDER_DB_VERSION', '6.3.0' ); | |
| 47 | 47 | } |
| 48 | 48 | if ( ! defined( 'DEFENDER_SUI' ) ) { |
| 49 | 49 | define( 'DEFENDER_SUI', '2-12-24' ); |
| 50 | 50 | } |
| @@ -140,11 +140,10 @@ | ||
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | require_once WP_DEFENDER_DIR . 'src/functions.php'; |
| 143 | 143 | // Create container. |
| 144 | -$builder = new \WPMU_DEV\Defender\Vendor\DI\ContainerBuilder(); | |
| 145 | 144 | global $wp_defender_di; |
| 146 | -$wp_defender_di = $builder->build(); | |
| 145 | +$wp_defender_di = new \WP_Defender\Component\Container(); | |
| 147 | 146 | global $wp_defender_central; |
| 148 | 147 | $wp_defender_central = new \WP_Defender\Central(); |
| 149 | 148 | do_action( 'wp_defender' ); |
| 150 | 149 | // Initialize bootstrap. |