Wordfence Security – Firewall & Malware Scan - Version 7.5.2

Version Description

  • March 24, 2021 =

  • Fix: Fixed fatal error on single-sites running WordPress <4.9.

Download this release

Release Info

Developer wfmatt
Plugin Icon 128x128 Wordfence Security – Firewall & Malware Scan
Version 7.5.2
Comparing to
See all releases

Code changes from version 7.5.1 to 7.5.2

Files changed (61) hide show
  1. css/{activity-report-widget.1616608593.css → activity-report-widget.1616621048.css} +0 -0
  2. css/{diff.1616608593.css → diff.1616621048.css} +0 -0
  3. css/{dt_table.1616608593.css → dt_table.1616621048.css} +0 -0
  4. css/{fullLog.1616608593.css → fullLog.1616621048.css} +0 -0
  5. css/{iptraf.1616608593.css → iptraf.1616621048.css} +0 -0
  6. css/{jquery-ui-timepicker-addon.1616608593.css → jquery-ui-timepicker-addon.1616621048.css} +0 -0
  7. css/{jquery-ui.min.1616608593.css → jquery-ui.min.1616621048.css} +0 -0
  8. css/{jquery-ui.structure.min.1616608593.css → jquery-ui.structure.min.1616621048.css} +0 -0
  9. css/{jquery-ui.theme.min.1616608593.css → jquery-ui.theme.min.1616621048.css} +0 -0
  10. css/{main.1616608593.css → main.1616621048.css} +0 -0
  11. css/{phpinfo.1616608593.css → phpinfo.1616621048.css} +0 -0
  12. css/{wf-adminbar.1616608593.css → wf-adminbar.1616621048.css} +0 -0
  13. css/{wf-colorbox.1616608593.css → wf-colorbox.1616621048.css} +0 -0
  14. css/{wf-font-awesome.1616608593.css → wf-font-awesome.1616621048.css} +0 -0
  15. css/{wf-global.1616608593.css → wf-global.1616621048.css} +0 -0
  16. css/{wf-ionicons.1616608593.css → wf-ionicons.1616621048.css} +0 -0
  17. css/{wf-onboarding.1616608593.css → wf-onboarding.1616621048.css} +0 -0
  18. css/{wf-roboto-font.1616608593.css → wf-roboto-font.1616621048.css} +0 -0
  19. css/{wfselect2.min.1616608593.css → wfselect2.min.1616621048.css} +0 -0
  20. css/{wordfenceBox.1616608593.css → wordfenceBox.1616621048.css} +0 -0
  21. js/{Chart.bundle.min.1616608593.js → Chart.bundle.min.1616621048.js} +0 -0
  22. js/{admin.1616608593.js → admin.1616621048.js} +0 -0
  23. js/{admin.ajaxWatcher.1616608593.js → admin.ajaxWatcher.1616621048.js} +0 -0
  24. js/{admin.liveTraffic.1616608593.js → admin.liveTraffic.1616621048.js} +0 -0
  25. js/{date.1616608593.js → date.1616621048.js} +0 -0
  26. js/{jquery-ui-timepicker-addon.1616608593.js → jquery-ui-timepicker-addon.1616621048.js} +0 -0
  27. js/{jquery.colorbox-min.1616608593.js → jquery.colorbox-min.1616621048.js} +0 -0
  28. js/{jquery.colorbox.1616608593.js → jquery.colorbox.1616621048.js} +0 -0
  29. js/{jquery.dataTables.min.1616608593.js → jquery.dataTables.min.1616621048.js} +0 -0
  30. js/{jquery.qrcode.min.1616608593.js → jquery.qrcode.min.1616621048.js} +0 -0
  31. js/{jquery.tmpl.min.1616608593.js → jquery.tmpl.min.1616621048.js} +0 -0
  32. js/{jquery.tools.min.1616608593.js → jquery.tools.min.1616621048.js} +0 -0
  33. js/{knockout-3.3.0.1616608593.js → knockout-3.3.0.1616621048.js} +0 -0
  34. js/{wfdashboard.1616608593.js → wfdashboard.1616621048.js} +0 -0
  35. js/{wfdropdown.1616608593.js → wfdropdown.1616621048.js} +0 -0
  36. js/{wfglobal.1616608593.js → wfglobal.1616621048.js} +0 -0
  37. js/{wfi18n.1616608593.js → wfi18n.1616621048.js} +0 -0
  38. js/{wfpopover.1616608593.js → wfpopover.1616621048.js} +0 -0
  39. js/{wfselect2.min.1616608593.js → wfselect2.min.1616621048.js} +0 -0
  40. modules/login-security/classes/controller/permissions.php +7 -3
  41. modules/login-security/css/{admin-global.1616608593.css → admin-global.1616621048.css} +0 -0
  42. modules/login-security/css/{admin.1616608593.css → admin.1616621048.css} +0 -0
  43. modules/login-security/css/{colorbox.1616608593.css → colorbox.1616621048.css} +0 -0
  44. modules/login-security/css/{font-awesome.1616608593.css → font-awesome.1616621048.css} +0 -0
  45. modules/login-security/css/{ionicons.1616608593.css → ionicons.1616621048.css} +0 -0
  46. modules/login-security/css/{jquery-ui-timepicker-addon.1616608593.css → jquery-ui-timepicker-addon.1616621048.css} +0 -0
  47. modules/login-security/css/{jquery-ui.min.1616608593.css → jquery-ui.min.1616621048.css} +0 -0
  48. modules/login-security/css/{jquery-ui.structure.min.1616608593.css → jquery-ui.structure.min.1616621048.css} +0 -0
  49. modules/login-security/css/{jquery-ui.theme.min.1616608593.css → jquery-ui.theme.min.1616621048.css} +0 -0
  50. modules/login-security/css/{login.1616608593.css → login.1616621048.css} +0 -0
  51. modules/login-security/js/{admin-global.1616608593.js → admin-global.1616621048.js} +0 -0
  52. modules/login-security/js/{admin.1616608593.js → admin.1616621048.js} +0 -0
  53. modules/login-security/js/{jquery-ui-timepicker-addon.1616608593.js → jquery-ui-timepicker-addon.1616621048.js} +0 -0
  54. modules/login-security/js/{jquery.colorbox.1616608593.js → jquery.colorbox.1616621048.js} +0 -0
  55. modules/login-security/js/{jquery.colorbox.min.1616608593.js → jquery.colorbox.min.1616621048.js} +0 -0
  56. modules/login-security/js/{jquery.qrcode.min.1616608593.js → jquery.qrcode.min.1616621048.js} +0 -0
  57. modules/login-security/js/{jquery.tmpl.min.1616608593.js → jquery.tmpl.min.1616621048.js} +0 -0
  58. modules/login-security/js/{login.1616608593.js → login.1616621048.js} +0 -0
  59. modules/login-security/wordfence-login-security.php +1 -1
  60. readme.txt +5 -1
  61. wordfence.php +3 -3
css/{activity-report-widget.1616608593.css → activity-report-widget.1616621048.css} RENAMED
File without changes
css/{diff.1616608593.css → diff.1616621048.css} RENAMED
File without changes
css/{dt_table.1616608593.css → dt_table.1616621048.css} RENAMED
File without changes
css/{fullLog.1616608593.css → fullLog.1616621048.css} RENAMED
File without changes
css/{iptraf.1616608593.css → iptraf.1616621048.css} RENAMED
File without changes
css/{jquery-ui-timepicker-addon.1616608593.css → jquery-ui-timepicker-addon.1616621048.css} RENAMED
File without changes
css/{jquery-ui.min.1616608593.css → jquery-ui.min.1616621048.css} RENAMED
File without changes
css/{jquery-ui.structure.min.1616608593.css → jquery-ui.structure.min.1616621048.css} RENAMED
File without changes
css/{jquery-ui.theme.min.1616608593.css → jquery-ui.theme.min.1616621048.css} RENAMED
File without changes
css/{main.1616608593.css → main.1616621048.css} RENAMED
File without changes
css/{phpinfo.1616608593.css → phpinfo.1616621048.css} RENAMED
File without changes
css/{wf-adminbar.1616608593.css → wf-adminbar.1616621048.css} RENAMED
File without changes
css/{wf-colorbox.1616608593.css → wf-colorbox.1616621048.css} RENAMED
File without changes
css/{wf-font-awesome.1616608593.css → wf-font-awesome.1616621048.css} RENAMED
File without changes
css/{wf-global.1616608593.css → wf-global.1616621048.css} RENAMED
File without changes
css/{wf-ionicons.1616608593.css → wf-ionicons.1616621048.css} RENAMED
File without changes
css/{wf-onboarding.1616608593.css → wf-onboarding.1616621048.css} RENAMED
File without changes
css/{wf-roboto-font.1616608593.css → wf-roboto-font.1616621048.css} RENAMED
File without changes
css/{wfselect2.min.1616608593.css → wfselect2.min.1616621048.css} RENAMED
File without changes
css/{wordfenceBox.1616608593.css → wordfenceBox.1616621048.css} RENAMED
File without changes
js/{Chart.bundle.min.1616608593.js → Chart.bundle.min.1616621048.js} RENAMED
File without changes
js/{admin.1616608593.js → admin.1616621048.js} RENAMED
File without changes
js/{admin.ajaxWatcher.1616608593.js → admin.ajaxWatcher.1616621048.js} RENAMED
File without changes
js/{admin.liveTraffic.1616608593.js → admin.liveTraffic.1616621048.js} RENAMED
File without changes
js/{date.1616608593.js → date.1616621048.js} RENAMED
File without changes
js/{jquery-ui-timepicker-addon.1616608593.js → jquery-ui-timepicker-addon.1616621048.js} RENAMED
File without changes
js/{jquery.colorbox-min.1616608593.js → jquery.colorbox-min.1616621048.js} RENAMED
File without changes
js/{jquery.colorbox.1616608593.js → jquery.colorbox.1616621048.js} RENAMED
File without changes
js/{jquery.dataTables.min.1616608593.js → jquery.dataTables.min.1616621048.js} RENAMED
File without changes
js/{jquery.qrcode.min.1616608593.js → jquery.qrcode.min.1616621048.js} RENAMED
File without changes
js/{jquery.tmpl.min.1616608593.js → jquery.tmpl.min.1616621048.js} RENAMED
File without changes
js/{jquery.tools.min.1616608593.js → jquery.tools.min.1616621048.js} RENAMED
File without changes
js/{knockout-3.3.0.1616608593.js → knockout-3.3.0.1616621048.js} RENAMED
File without changes
js/{wfdashboard.1616608593.js → wfdashboard.1616621048.js} RENAMED
File without changes
js/{wfdropdown.1616608593.js → wfdropdown.1616621048.js} RENAMED
File without changes
js/{wfglobal.1616608593.js → wfglobal.1616621048.js} RENAMED
File without changes
js/{wfi18n.1616608593.js → wfi18n.1616621048.js} RENAMED
File without changes
js/{wfpopover.1616608593.js → wfpopover.1616621048.js} RENAMED
File without changes
js/{wfselect2.min.1616608593.js → wfselect2.min.1616621048.js} RENAMED
File without changes
modules/login-security/classes/controller/permissions.php CHANGED
@@ -201,10 +201,14 @@ class Controller_Permissions {
201
  return new \WP_Roles($site_id);
202
  }
203
 
204
- //\WP_Roles in WP < 4.9 initializes based on the current blog ID
205
- switch_to_blog($site_id);
 
 
206
  $wp_roles = new \WP_Roles();
207
- restore_current_blog();
 
 
208
  return $wp_roles;
209
  }
210
 
201
  return new \WP_Roles($site_id);
202
  }
203
 
204
+ //\WP_Roles in WP < 4.9 initializes based on the current blog ID
205
+ if (is_multisite()) {
206
+ switch_to_blog($site_id);
207
+ }
208
  $wp_roles = new \WP_Roles();
209
+ if (is_multisite()) {
210
+ restore_current_blog();
211
+ }
212
  return $wp_roles;
213
  }
214
 
modules/login-security/css/{admin-global.1616608593.css → admin-global.1616621048.css} RENAMED
File without changes
modules/login-security/css/{admin.1616608593.css → admin.1616621048.css} RENAMED
File without changes
modules/login-security/css/{colorbox.1616608593.css → colorbox.1616621048.css} RENAMED
File without changes
modules/login-security/css/{font-awesome.1616608593.css → font-awesome.1616621048.css} RENAMED
File without changes
modules/login-security/css/{ionicons.1616608593.css → ionicons.1616621048.css} RENAMED
File without changes
modules/login-security/css/{jquery-ui-timepicker-addon.1616608593.css → jquery-ui-timepicker-addon.1616621048.css} RENAMED
File without changes
modules/login-security/css/{jquery-ui.min.1616608593.css → jquery-ui.min.1616621048.css} RENAMED
File without changes
modules/login-security/css/{jquery-ui.structure.min.1616608593.css → jquery-ui.structure.min.1616621048.css} RENAMED
File without changes
modules/login-security/css/{jquery-ui.theme.min.1616608593.css → jquery-ui.theme.min.1616621048.css} RENAMED
File without changes
modules/login-security/css/{login.1616608593.css → login.1616621048.css} RENAMED
File without changes
modules/login-security/js/{admin-global.1616608593.js → admin-global.1616621048.js} RENAMED
File without changes
modules/login-security/js/{admin.1616608593.js → admin.1616621048.js} RENAMED
File without changes
modules/login-security/js/{jquery-ui-timepicker-addon.1616608593.js → jquery-ui-timepicker-addon.1616621048.js} RENAMED
File without changes
modules/login-security/js/{jquery.colorbox.1616608593.js → jquery.colorbox.1616621048.js} RENAMED
File without changes
modules/login-security/js/{jquery.colorbox.min.1616608593.js → jquery.colorbox.min.1616621048.js} RENAMED
File without changes
modules/login-security/js/{jquery.qrcode.min.1616608593.js → jquery.qrcode.min.1616621048.js} RENAMED
File without changes
modules/login-security/js/{jquery.tmpl.min.1616608593.js → jquery.tmpl.min.1616621048.js} RENAMED
File without changes
modules/login-security/js/{login.1616608593.js → login.1616621048.js} RENAMED
File without changes
modules/login-security/wordfence-login-security.php CHANGED
@@ -27,7 +27,7 @@ else {
27
  define('WORDFENCE_LS_FROM_CORE', ($wfCoreActive && isset($wfCoreLoading) && $wfCoreLoading));
28
 
29
  define('WORDFENCE_LS_VERSION', '1.0.6');
30
- define('WORDFENCE_LS_BUILD_NUMBER', '1616608593');
31
 
32
  if (!defined('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES')) { define('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES', 15); }
33
 
27
  define('WORDFENCE_LS_FROM_CORE', ($wfCoreActive && isset($wfCoreLoading) && $wfCoreLoading));
28
 
29
  define('WORDFENCE_LS_VERSION', '1.0.6');
30
+ define('WORDFENCE_LS_BUILD_NUMBER', '1616621048');
31
 
32
  if (!defined('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES')) { define('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES', 15); }
33
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: security, firewall, malware scanner, web application firewall, two factor
4
  Requires at least: 3.9
5
  Requires PHP: 5.3
6
  Tested up to: 5.7
7
- Stable tag: 7.5.1
8
 
9
  Secure your website with the most comprehensive WordPress security plugin. Firewall, malware scan, blocking, live traffic, login security & more.
10
 
@@ -183,6 +183,10 @@ Secure your website with Wordfence.
183
 
184
  == Changelog ==
185
 
 
 
 
 
186
  = 7.5.1 - March 24, 2021 =
187
 
188
  * Fix: Fixed fatal error when viewing the Login Security settings page from an allowlisted IP.
4
  Requires at least: 3.9
5
  Requires PHP: 5.3
6
  Tested up to: 5.7
7
+ Stable tag: 7.5.2
8
 
9
  Secure your website with the most comprehensive WordPress security plugin. Firewall, malware scan, blocking, live traffic, login security & more.
10
 
183
 
184
  == Changelog ==
185
 
186
+ = 7.5.2 - March 24, 2021 =
187
+
188
+ * Fix: Fixed fatal error on single-sites running WordPress <4.9.
189
+
190
  = 7.5.1 - March 24, 2021 =
191
 
192
  * Fix: Fixed fatal error when viewing the Login Security settings page from an allowlisted IP.
wordfence.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Wordfence Security
4
  Plugin URI: http://www.wordfence.com/
5
  Description: Wordfence Security - Anti-virus, Firewall and Malware Scan
6
  Author: Wordfence
7
- Version: 7.5.1
8
  Author URI: http://www.wordfence.com/
9
  Text Domain: wordfence
10
  Domain Path: /languages
@@ -17,8 +17,8 @@ if(defined('WP_INSTALLING') && WP_INSTALLING){
17
  if (!defined('ABSPATH')) {
18
  exit;
19
  }
20
- define('WORDFENCE_VERSION', '7.5.1');
21
- define('WORDFENCE_BUILD_NUMBER', '1616608593');
22
  define('WORDFENCE_BASENAME', function_exists('plugin_basename') ? plugin_basename(__FILE__) :
23
  basename(dirname(__FILE__)) . '/' . basename(__FILE__));
24
 
4
  Plugin URI: http://www.wordfence.com/
5
  Description: Wordfence Security - Anti-virus, Firewall and Malware Scan
6
  Author: Wordfence
7
+ Version: 7.5.2
8
  Author URI: http://www.wordfence.com/
9
  Text Domain: wordfence
10
  Domain Path: /languages
17
  if (!defined('ABSPATH')) {
18
  exit;
19
  }
20
+ define('WORDFENCE_VERSION', '7.5.2');
21
+ define('WORDFENCE_BUILD_NUMBER', '1616621048');
22
  define('WORDFENCE_BASENAME', function_exists('plugin_basename') ? plugin_basename(__FILE__) :
23
  basename(dirname(__FILE__)) . '/' . basename(__FILE__));
24