Shield Security for WordPress - Version 14.1.3

Version Description

Download this release

Release Info

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

Code changes from version 14.1.2 to 14.1.3

cl.json CHANGED
@@ -138,6 +138,16 @@
138
  "type": "fixed"
139
  }
140
  ]
 
 
 
 
 
 
 
 
 
 
141
  }
142
  ]
143
  },
138
  "type": "fixed"
139
  }
140
  ]
141
+ },
142
+ {
143
+ "version": "3",
144
+ "released_at": 1647854124,
145
+ "items": [
146
+ {
147
+ "title": "Ensure database upgrade doesn't stall for large traffic logs.",
148
+ "type": "fixed"
149
+ }
150
+ ]
151
  }
152
  ]
153
  },
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: 14.1.2
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: 14.1.3
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": "14.1.2",
4
- "release_timestamp": 1647852420,
5
- "build": "202203.2102",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield Security",
1
  {
2
  "properties": {
3
+ "version": "14.1.3",
4
+ "release_timestamp": 1647854124,
5
+ "build": "202203.2103",
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": "14.1.2",
4
- "release_timestamp": 1647852420,
5
- "build": "202203.2102",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield Security",
1
  {
2
  "properties": {
3
+ "version": "14.1.3",
4
+ "release_timestamp": 1647854124,
5
+ "build": "202203.2103",
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.9
11
- Stable tag: 14.1.2
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.9
11
+ Stable tag: 14.1.3
12
 
13
  No-Nonsense Security Hardening that protects WordPress against hackers, malicious bots, and spammers (no captchas!). Now with exclusive ShieldNET Technology.
14
 
src/lib/src/Modules/Data/Lib/UpgradeReqLogsTable.php CHANGED
@@ -34,6 +34,9 @@ class UpgradeReqLogsTable extends ExecOnceModConsumer {
34
  }
35
 
36
  $page++;
 
 
 
37
  } while ( !empty( $records ) );
38
  }
39
 
34
  }
35
 
36
  $page++;
37
+ if ( $page > 5 ) {
38
+ break;
39
+ }
40
  } while ( !empty( $records ) );
41
  }
42
 
src/lib/src/Modules/Data/ModCon.php CHANGED
@@ -4,8 +4,8 @@ namespace FernleafSystems\Wordpress\Plugin\Shield\Modules\Data;
4
 
5
  use FernleafSystems\Wordpress\Plugin\Shield\Modules\{
6
  AuditTrail,
7
- Traffic
8
- };
9
  use FernleafSystems\Wordpress\Plugin\Shield\Modules\BaseShield;
10
 
11
  class ModCon extends BaseShield\ModCon {
@@ -23,6 +23,12 @@ class ModCon extends BaseShield\ModCon {
23
  return $this->getDbHandler()->loadDbH( 'req_logs' );
24
  }
25
 
 
 
 
 
 
 
26
  protected function cleanupDatabases() {
27
  $con = $this->getCon();
28
 
4
 
5
  use FernleafSystems\Wordpress\Plugin\Shield\Modules\{
6
  AuditTrail,
7
+ Data\Lib\UpgradeReqLogsTable,
8
+ Traffic};
9
  use FernleafSystems\Wordpress\Plugin\Shield\Modules\BaseShield;
10
 
11
  class ModCon extends BaseShield\ModCon {
23
  return $this->getDbHandler()->loadDbH( 'req_logs' );
24
  }
25
 
26
+ public function runHourlyCron() {
27
+ ( new UpgradeReqLogsTable() )
28
+ ->setMod( $this->getCon()->getModule_Data() )
29
+ ->execute();
30
+ }
31
+
32
  protected function cleanupDatabases() {
33
  $con = $this->getCon();
34
 
src/lib/src/Modules/License/ModCon.php CHANGED
@@ -4,6 +4,7 @@ namespace FernleafSystems\Wordpress\Plugin\Shield\Modules\License;
4
 
5
  use FernleafSystems\Wordpress\Plugin\Shield\Databases;
6
  use FernleafSystems\Wordpress\Plugin\Shield\Modules\BaseShield;
 
7
  use FernleafSystems\Wordpress\Services\Services;
8
 
9
  class ModCon extends BaseShield\ModCon {
4
 
5
  use FernleafSystems\Wordpress\Plugin\Shield\Databases;
6
  use FernleafSystems\Wordpress\Plugin\Shield\Modules\BaseShield;
7
+ use FernleafSystems\Wordpress\Plugin\Shield\Modules\Data\Lib\UpgradeReqLogsTable;
8
  use FernleafSystems\Wordpress\Services\Services;
9
 
10
  class ModCon extends BaseShield\ModCon {