Shield Security for WordPress - Version 10.1.2

Version Description

Download this release

Release Info

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

Code changes from version 10.1.1 to 10.1.2

cl.json CHANGED
@@ -75,6 +75,12 @@
75
  "Fix to ensure iControlWP is properly whitelisted."
76
  ],
77
  "patch": "10.1.1"
 
 
 
 
 
 
78
  }
79
  ]
80
  },
75
  "Fix to ensure iControlWP is properly whitelisted."
76
  ],
77
  "patch": "10.1.1"
78
+ },
79
+ {
80
+ "type": "fixed",
81
+ "title": "Bug with PHP Type Error in some cases",
82
+ "description": [],
83
+ "patch": "10.1.2"
84
  }
85
  ]
86
  },
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: 10.1.1
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: 10.1.2
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": "10.1.1",
4
- "release_timestamp": 1605630714,
5
- "build": "202011.1702",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield",
1
  {
2
  "properties": {
3
+ "version": "10.1.2",
4
+ "release_timestamp": 1605636857,
5
+ "build": "202011.1703",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield",
readme.txt CHANGED
@@ -8,7 +8,7 @@ Requires at least: 3.5.2
8
  Requires PHP: 7.0
9
  Recommended PHP: 7.4
10
  Tested up to: 5.5
11
- Stable tag: 10.1.1
12
 
13
  The highest rated WordPress Security plugin, delivering unparalleled, all-in-one protection for you and your customers.
14
 
8
  Requires PHP: 7.0
9
  Recommended PHP: 7.4
10
  Tested up to: 5.5
11
+ Stable tag: 10.1.2
12
 
13
  The highest rated WordPress Security plugin, delivering unparalleled, all-in-one protection for you and your customers.
14
 
src/lib/src/Modules/Plugin/ModCon.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php declare( strict_types=1 );
2
 
3
  namespace FernleafSystems\Wordpress\Plugin\Shield\Modules\Plugin;
4
 
@@ -68,10 +68,10 @@ class ModCon extends BaseShield\ModCon {
68
  $wpCrons = Services::WpCron();
69
 
70
  foreach ( $wpCrons->getCrons() as $nKey => $aCronArgs ) {
71
- foreach ( $aCronArgs as $sHook => $aCron ) {
72
- if ( strpos( $sHook, $con->prefix() ) === 0
73
- || strpos( $sHook, $con->prefixOption() ) === 0 ) {
74
- $wpCrons->deleteCronJob( $sHook );
75
  }
76
  }
77
  }
1
+ <?php
2
 
3
  namespace FernleafSystems\Wordpress\Plugin\Shield\Modules\Plugin;
4
 
68
  $wpCrons = Services::WpCron();
69
 
70
  foreach ( $wpCrons->getCrons() as $nKey => $aCronArgs ) {
71
+ foreach ( $aCronArgs as $hook => $aCron ) {
72
+ if ( strpos( (string)$hook, $con->prefix() ) === 0
73
+ || strpos( (string)$hook, $con->prefixOption() ) === 0 ) {
74
+ $wpCrons->deleteCronJob( $hook );
75
  }
76
  }
77
  }