Shield Security for WordPress - Version 13.0.1

Version Description

Download this release

Release Info

Developer paultgoodchild
Plugin Icon 128x128 Shield Security for WordPress
Version 13.0.1
Comparing to
See all releases

Code changes from version 13.0.0 to 13.0.1

cl.json CHANGED
@@ -93,6 +93,18 @@
93
  "description": [
94
  "Adding and removing Yubikey devices to and from your WP user profile is more reliable."
95
  ]
 
 
 
 
 
 
 
 
 
 
 
 
96
  }
97
  ]
98
  },
93
  "description": [
94
  "Adding and removing Yubikey devices to and from your WP user profile is more reliable."
95
  ]
96
+ },
97
+ {
98
+ "type": "fixed",
99
+ "title": "Reduce scan chunk size to improve MySQL query memory usage.",
100
+ "description": [],
101
+ "patch": "13.0.1"
102
+ },
103
+ {
104
+ "type": "fixed",
105
+ "title": "Automatic selection of IP addresses in IP Analyse tool after switching to AJAX source.",
106
+ "description": [],
107
+ "patch": "13.0.1"
108
  }
109
  ]
110
  },
icwp-wpsf.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Shield Security
4
  * Plugin URI: https://shsec.io/2f
5
  * Description: Powerful, Easy-To-Use #1 Rated WordPress Security System
6
- * Version: 13.0.0
7
  * Text Domain: wp-simple-firewall
8
  * Domain Path: /languages
9
  * Author: Shield Security
3
  * Plugin Name: Shield Security
4
  * Plugin URI: https://shsec.io/2f
5
  * Description: Powerful, Easy-To-Use #1 Rated WordPress Security System
6
+ * Version: 13.0.1
7
  * Text Domain: wp-simple-firewall
8
  * Domain Path: /languages
9
  * Author: Shield Security
plugin-spec.php CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "properties": {
3
- "version": "13.0.0",
4
- "release_timestamp": 1636970660,
5
- "build": "202111.1501",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield Security",
1
  {
2
  "properties": {
3
+ "version": "13.0.1",
4
+ "release_timestamp": 1636972249,
5
+ "build": "202111.1502",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield Security",
plugin.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "properties": {
3
- "version": "13.0.0",
4
- "release_timestamp": 1636970660,
5
- "build": "202111.1501",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield Security",
1
  {
2
  "properties": {
3
+ "version": "13.0.1",
4
+ "release_timestamp": 1636972249,
5
+ "build": "202111.1502",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield Security",
readme.txt CHANGED
@@ -8,7 +8,7 @@ Requires at least: 3.7
8
  Requires PHP: 7.0
9
  Recommended PHP: 7.4
10
  Tested up to: 5.8
11
- Stable tag: 13.0.0
12
 
13
  No-Nonsense Security Hardening that protects WordPress against hackers, malicious bots, and spammers (no captchas!). Now with exclusive ShieldNET Technology.
14
 
8
  Requires PHP: 7.0
9
  Recommended PHP: 7.4
10
  Tested up to: 5.8
11
+ Stable tag: 13.0.1
12
 
13
  No-Nonsense Security Hardening that protects WordPress against hackers, malicious bots, and spammers (no captchas!). Now with exclusive ShieldNET Technology.
14
 
resources/js/shield/ipanalyse.js CHANGED
@@ -2,8 +2,9 @@ jQuery.fn.icwpWpsfIpAnalyse = function ( options ) {
2
 
3
  var runAnalysis = function () {
4
  let newUrl = window.location.href.replace( /&analyse_ip=.+/i, "" );
5
- if ( $oIpSelect.val().length > 0 ) {
6
- newUrl += "&analyse_ip=" + $oIpSelect.val();
 
7
  }
8
  window.history.replaceState(
9
  {},
@@ -11,7 +12,6 @@ jQuery.fn.icwpWpsfIpAnalyse = function ( options ) {
11
  newUrl
12
  );
13
 
14
- sendReq( { 'fIp': $oIpSelect.val() } );
15
  };
16
 
17
  var clearAnalyseIpParam = function () {
@@ -65,7 +65,7 @@ jQuery.fn.icwpWpsfIpAnalyse = function ( options ) {
65
 
66
  jQuery( document ).ready( function () {
67
 
68
- var $aIpActions = jQuery( document ).on( 'click', 'a.ip_analyse_action', function ( evt ) {
69
  evt.preventDefault();
70
  if ( confirm( 'Are you sure?' ) ) {
71
  let $oThis = jQuery( this );
@@ -77,16 +77,24 @@ jQuery.fn.icwpWpsfIpAnalyse = function ( options ) {
77
  return false;
78
  } );
79
 
80
- $oIpSelect.on( 'change', runAnalysis );
81
 
82
  let urlParams = new URLSearchParams( window.location.search );
83
  let theIP = urlParams.get( 'analyse_ip' );
84
  if ( theIP ) {
85
- $oIpSelect.val( theIP );
 
 
 
 
 
 
 
 
86
  runAnalysis();
87
  }
88
  else {
89
- var activeTab = localStorage.getItem( 'ipsActiveTab' );
90
  if ( activeTab ) {
91
  jQuery( 'a[href="' + activeTab + '"]' ).tab( 'show' );
92
  }
@@ -95,7 +103,7 @@ jQuery.fn.icwpWpsfIpAnalyse = function ( options ) {
95
  } );
96
  };
97
 
98
- var $oIpSelect = jQuery( '#IpReviewSelect' );
99
  var aOpts = jQuery.extend( {}, options );
100
  initialise();
101
 
2
 
3
  var runAnalysis = function () {
4
  let newUrl = window.location.href.replace( /&analyse_ip=.+/i, "" );
5
+ if ( $ipSelect.val() && $ipSelect.val().length > 0 ) {
6
+ newUrl += "&analyse_ip=" + $ipSelect.val();
7
+ sendReq( { 'fIp': $ipSelect.val() } );
8
  }
9
  window.history.replaceState(
10
  {},
12
  newUrl
13
  );
14
 
 
15
  };
16
 
17
  var clearAnalyseIpParam = function () {
65
 
66
  jQuery( document ).ready( function () {
67
 
68
+ let $ipActions = jQuery( document ).on( 'click', 'a.ip_analyse_action', function ( evt ) {
69
  evt.preventDefault();
70
  if ( confirm( 'Are you sure?' ) ) {
71
  let $oThis = jQuery( this );
77
  return false;
78
  } );
79
 
80
+ $ipSelect.on( 'change', runAnalysis );
81
 
82
  let urlParams = new URLSearchParams( window.location.search );
83
  let theIP = urlParams.get( 'analyse_ip' );
84
  if ( theIP ) {
85
+
86
+ /**
87
+ * Since using dynamic AJAX requests to filter IP list,
88
+ * we must manually create an option and select it
89
+ */
90
+ if ( $ipSelect.find( "option[value='" + theIP + "']" ).length === 0 ) {
91
+ $ipSelect.append( new Option( theIP, theIP, true, true ) ).trigger( 'change' );
92
+ }
93
+ $ipSelect.val( theIP );
94
  runAnalysis();
95
  }
96
  else {
97
+ let activeTab = localStorage.getItem( 'ipsActiveTab' );
98
  if ( activeTab ) {
99
  jQuery( 'a[href="' + activeTab + '"]' ).tab( 'show' );
100
  }
103
  } );
104
  };
105
 
106
+ var $ipSelect = jQuery( '#IpReviewSelect' );
107
  var aOpts = jQuery.extend( {}, options );
108
  initialise();
109
 
src/lib/src/Scans/Afs/ScanActionVO.php CHANGED
@@ -16,6 +16,6 @@ use FernleafSystems\Wordpress\Plugin\Shield\Scans\Base\BaseScanActionVO;
16
  */
17
  class ScanActionVO extends BaseScanActionVO {
18
 
19
- const QUEUE_GROUP_SIZE_LIMIT = 50;
20
  const DEFAULT_SLEEP_SECONDS = 0.1;
21
  }
16
  */
17
  class ScanActionVO extends BaseScanActionVO {
18
 
19
+ const QUEUE_GROUP_SIZE_LIMIT = 25;
20
  const DEFAULT_SLEEP_SECONDS = 0.1;
21
  }