Defender Security – Malware Scanner, Login Security & Firewall - Version 2.5.1

Version Description

( 2021-05-19 ) =

  • Fix: Fatal error after an update from older versions
Download this release

Release Info

Developer BigTonny
Plugin Icon 128x128 Defender Security – Malware Scanner, Login Security & Firewall
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.1

languages/wpdef-default.pot CHANGED
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: wp-defender 2.5.0\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2021-05-05 18:21+0300\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: wp-defender 2.5.1\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2021-05-19 09:38+0300\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
readme.txt CHANGED
@@ -1,13 +1,13 @@
1
  === Defender Security - Malware Scanner, Login Security & Firewall ===
2
  Plugin Name: Defender Security - Malware Scanner, Login Security & Firewall
3
- Version: 2.5.0
4
  Author: WPMU DEV
5
  Author URI: https://wpmudev.com/
6
  Contributors: WPMUDEV
7
  Tags: security plugin, security, firewall, malware, malware scanner, antivirus, ip blocking, login security, brute force attacks, two-factor authentication, activity log, audit logs, block hackers, 2fa, hack
8
  Requires at least: 5.2
9
- Tested up to: 5.7.1
10
- Stable tag: 2.5.0
11
  License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
12
 
13
  Security plugin with malware scanner, IP blocking, audit logs, activity logs, firewall, login security & more.
@@ -204,6 +204,10 @@ Please open a new thread in Defender’s [support forum](https://wordpress.org/s
204
 
205
  == Changelog ==
206
 
 
 
 
 
207
  = 2.5.0 ( 2021-05-06 ) =
208
 
209
  - New: Check passwords against Pwned database
@@ -292,35 +296,6 @@ Please open a new thread in Defender’s [support forum](https://wordpress.org/s
292
 
293
  - Fix: Security vulnerability for Two Factor Authentication
294
 
295
- = 2.4.6 ( 2021-01-27 ) =
296
-
297
- - Security: Malware scan doesn't detect Backdoor:PHP/WP-VCD
298
- - Security: Malware scanning issues with Avada theme
299
- - Enhance: PHP 8 compatibility
300
- - Enhance: Mobile UI improvement for IP lockout logs
301
- - Enhance: Remove menu icon with issue indicator when there are no Scan and Tweak issues
302
- - Enhance: Suspicious Code scan type is deactivated by default
303
- - Fix: Defender security headers not applied when Hummingbird caching is active
304
- - Fix: Revert button not working for certain recommendations
305
- - Fix: Remember Light mode/Dark mode selection for Malware Scanning code preview
306
- - Fix: Resend Invite option is not showing for added users (Add users/Invite by Email)
307
- - Fix: Read More link showing in blue color when High Contrast Mode is ON
308
- - Fix: Fix footer link URL
309
- - Fix: 127.0.0.1 showing multiples times on the firewall logs page
310
- - Fix: Unsubscribe icon is not showing correctly on the notifications page
311
- - Fix: Console errors on various pages when WooCommerce is activated
312
- - Fix: Display error for enabled Mask Login and Site Health request
313
- - Fix: Mask Login Area restricted slugs
314
- - Fix: Showing all files in WP core as modified
315
- - Fix: Defender locking out users and detecting wrong user IP
316
- - Fix: 2FA can't be forced with WooCommerce
317
- - Fix: Disable File Editor tweak reset
318
- - Fix: Issues on Flywheel hosting stability improvements
319
- - Fix: Admin email duplicates in Bulk notification modal
320
- - Fix: Multiple notifications still being sent after update to 2.4.4
321
- - Fix: Error when requesting API on the Audit logs page
322
- - Fix: Audit log does not log all plugins when activated/deactivated in batches
323
-
324
 
325
  [Changelog for previous versions](https://wpmudev.com/project/wp-defender/#view-changelog).
326
 
1
  === Defender Security - Malware Scanner, Login Security & Firewall ===
2
  Plugin Name: Defender Security - Malware Scanner, Login Security & Firewall
3
+ Version: 2.5.1
4
  Author: WPMU DEV
5
  Author URI: https://wpmudev.com/
6
  Contributors: WPMUDEV
7
  Tags: security plugin, security, firewall, malware, malware scanner, antivirus, ip blocking, login security, brute force attacks, two-factor authentication, activity log, audit logs, block hackers, 2fa, hack
8
  Requires at least: 5.2
9
+ Tested up to: 5.7.2
10
+ Stable tag: 2.5.1
11
  License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
12
 
13
  Security plugin with malware scanner, IP blocking, audit logs, activity logs, firewall, login security & more.
204
 
205
  == Changelog ==
206
 
207
+ = 2.5.1 ( 2021-05-19 ) =
208
+
209
+ - Fix: Fatal error after an update from older versions
210
+
211
  = 2.5.0 ( 2021-05-06 ) =
212
 
213
  - New: Check passwords against Pwned database
296
 
297
  - Fix: Security vulnerability for Two Factor Authentication
298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
 
300
  [Changelog for previous versions](https://wpmudev.com/project/wp-defender/#view-changelog).
301
 
src/component/config/config-adapter.php CHANGED
@@ -395,7 +395,8 @@ class Config_Adapter extends Component {
395
  return array(
396
  'sh_xframe' => $model_sec_headers->sh_xframe,
397
  'sh_xframe_mode' => $model_sec_headers->sh_xframe_mode,
398
- 'sh_xframe_urls' => $model_sec_headers->sh_xframe_urls,
 
399
  'sh_xss_protection' => $model_sec_headers->sh_xss_protection,
400
  'sh_xss_protection_mode' => $model_sec_headers->sh_xss_protection_mode,
401
  'sh_content_type_options' => $model_sec_headers->sh_content_type_options,
@@ -415,7 +416,8 @@ class Config_Adapter extends Component {
415
  return array(
416
  'sh_xframe' => (bool) $old_data['sh_xframe'],
417
  'sh_xframe_mode' => $old_data['sh_xframe_mode'],
418
- 'sh_xframe_urls' => $old_data['sh_xframe_urls'],
 
419
  'sh_xss_protection' => (bool) $old_data['sh_xss_protection'],
420
  'sh_xss_protection_mode' => $old_data['sh_xss_protection_mode'],
421
  'sh_content_type_options' => (bool) $old_data['sh_content_type_options'],
395
  return array(
396
  'sh_xframe' => $model_sec_headers->sh_xframe,
397
  'sh_xframe_mode' => $model_sec_headers->sh_xframe_mode,
398
+ //leave for migration to 2.5.1
399
+ 'sh_xframe_urls' => '',
400
  'sh_xss_protection' => $model_sec_headers->sh_xss_protection,
401
  'sh_xss_protection_mode' => $model_sec_headers->sh_xss_protection_mode,
402
  'sh_content_type_options' => $model_sec_headers->sh_content_type_options,
416
  return array(
417
  'sh_xframe' => (bool) $old_data['sh_xframe'],
418
  'sh_xframe_mode' => $old_data['sh_xframe_mode'],
419
+ //leave for migration to 2.5.1
420
+ 'sh_xframe_urls' => isset( $old_data['sh_xframe_urls'] ) ? $old_data['sh_xframe_urls'] : '',
421
  'sh_xss_protection' => (bool) $old_data['sh_xss_protection'],
422
  'sh_xss_protection_mode' => $old_data['sh_xss_protection_mode'],
423
  'sh_content_type_options' => (bool) $old_data['sh_content_type_options'],
wp-defender.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Defender
4
  * Plugin URI: https://wpmudev.com/project/wp-defender/
5
- * Version: 2.5.0
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
  * Author: WPMU DEV
8
  * Author URI: https://wpmudev.com/
@@ -15,10 +15,10 @@ if ( ! defined( 'ABSPATH' ) ) {
15
  die;
16
  }
17
  if ( ! defined( 'DEFENDER_VERSION' ) ) {
18
- define( 'DEFENDER_VERSION', '2.5.0' );
19
  }
20
  if ( ! defined( 'DEFENDER_DB_VERSION' ) ) {
21
- define( 'DEFENDER_DB_VERSION', '2.5.0' );
22
  }
23
  if ( ! defined( 'DEFENDER_SUI' ) ) {
24
  define( 'DEFENDER_SUI', '2-10-7' );
2
  /**
3
  * Plugin Name: Defender
4
  * Plugin URI: https://wpmudev.com/project/wp-defender/
5
+ * Version: 2.5.1
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
  * Author: WPMU DEV
8
  * Author URI: https://wpmudev.com/
15
  die;
16
  }
17
  if ( ! defined( 'DEFENDER_VERSION' ) ) {
18
+ define( 'DEFENDER_VERSION', '2.5.1' );
19
  }
20
  if ( ! defined( 'DEFENDER_DB_VERSION' ) ) {
21
+ define( 'DEFENDER_DB_VERSION', '2.5.1' );
22
  }
23
  if ( ! defined( 'DEFENDER_SUI' ) ) {
24
  define( 'DEFENDER_SUI', '2-10-7' );