Shield Security for WordPress - Version 11.4.4

Version Description

Download this release

Release Info

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

Code changes from version 11.4.3 to 11.4.4

cl.json CHANGED
@@ -76,6 +76,12 @@
76
  "title": "Refinements to the ShieldNET cron processing.",
77
  "description": [],
78
  "patch": "11.4.3"
 
 
 
 
 
 
79
  }
80
  ]
81
  },
76
  "title": "Refinements to the ShieldNET cron processing.",
77
  "description": [],
78
  "patch": "11.4.3"
79
+ },
80
+ {
81
+ "type": "fixed",
82
+ "title": "Prevent a rare fatal error on certain pages.",
83
+ "description": [],
84
+ "patch": "11.4.4"
85
  }
86
  ]
87
  },
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: 11.4.3
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: 11.4.4
7
  * Text Domain: wp-simple-firewall
8
  * Domain Path: /languages
9
  * Author: Shield Security
plugin-spec.php CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "properties": {
3
- "version": "11.4.3",
4
  "release_timestamp": 1625589161,
5
  "build": "202107.0801",
6
  "slug_parent": "icwp",
1
  {
2
  "properties": {
3
+ "version": "11.4.4",
4
  "release_timestamp": 1625589161,
5
  "build": "202107.0801",
6
  "slug_parent": "icwp",
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: 11.4.3
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: 11.4.4
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/vendor/fernleafsystems/wordpress-services/src/Core/Plugins.php CHANGED
@@ -405,8 +405,8 @@ class Plugins {
405
  public function getAllExtendedData() {
406
  $data = Services::WpGeneral()->getTransient( 'update_plugins' );
407
  return array_merge(
408
- $data->no_update ?? [],
409
- $data->response ?? []
410
  );
411
  }
412
 
@@ -414,11 +414,14 @@ class Plugins {
414
  * @param string $baseFile
415
  * @return array
416
  */
417
- public function getExtendedData( $baseFile ) {
 
418
  $data = $this->getAllExtendedData();
419
- return isset( $data[ $baseFile ] ) ?
420
- Services::DataManipulation()->convertStdClassToArray( $data[ $baseFile ] )
421
- : [];
 
 
422
  }
423
 
424
  public function getAllSlugs() :array {
405
  public function getAllExtendedData() {
406
  $data = Services::WpGeneral()->getTransient( 'update_plugins' );
407
  return array_merge(
408
+ ( isset( $data->no_update ) && is_array( $data->no_update ) ) ? $data->no_update : [],
409
+ ( isset( $data->response ) && is_array( $data->response ) ) ? $data->response : []
410
  );
411
  }
412
 
414
  * @param string $baseFile
415
  * @return array
416
  */
417
+ public function getExtendedData( $baseFile ) :array {
418
+ $ext = [];
419
  $data = $this->getAllExtendedData();
420
+ if ( !empty( $data[ $baseFile ] ) ) {
421
+ $ext = is_array( $data[ $baseFile ] ) ? $data[ $baseFile ]
422
+ : Services::DataManipulation()->convertStdClassToArray( $data[ $baseFile ] );
423
+ }
424
+ return is_array( $ext ) ? $ext : [];
425
  }
426
 
427
  public function getAllSlugs() :array {
src/lib/vendor/fernleafsystems/wordpress-services/src/Core/Themes.php CHANGED
@@ -278,11 +278,11 @@ class Themes {
278
  /**
279
  * @return array[] - keys are theme stylesheets
280
  */
281
- public function getAllExtendedData() {
282
  $data = Services::WpGeneral()->getTransient( 'update_themes' );
283
  return array_merge(
284
- $data->no_update ?? [],
285
- $data->response ?? []
286
  );
287
  }
288
 
@@ -290,9 +290,9 @@ class Themes {
290
  * @param string $slug
291
  * @return array
292
  */
293
- public function getExtendedData( $slug ) {
294
  $data = $this->getAllExtendedData();
295
- return $data[ $slug ] ?? [];
296
  }
297
 
298
  /**
278
  /**
279
  * @return array[] - keys are theme stylesheets
280
  */
281
+ public function getAllExtendedData() :array {
282
  $data = Services::WpGeneral()->getTransient( 'update_themes' );
283
  return array_merge(
284
+ ( isset( $data->no_update ) && is_array( $data->no_update ) ) ? $data->no_update : [],
285
+ ( isset( $data->response ) && is_array( $data->response ) ) ? $data->response : []
286
  );
287
  }
288
 
290
  * @param string $slug
291
  * @return array
292
  */
293
+ public function getExtendedData( $slug ) :array {
294
  $data = $this->getAllExtendedData();
295
+ return ( isset( $data[ $slug ] ) && is_array( $data[ $slug ] ) ) ? $data[ $slug ] : [];
296
  }
297
 
298
  /**