Shield Security for WordPress - Version 16.1.9

Version Description

Download this release

Release Info

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

Code changes from version 16.1.8 to 16.1.9

cl.json CHANGED
@@ -127,6 +127,16 @@
127
  }
128
  ],
129
  "patches": [
 
 
 
 
 
 
 
 
 
 
130
  {
131
  "version": "8",
132
  "released_at": 1664360000,
127
  }
128
  ],
129
  "patches": [
130
+ {
131
+ "version": "9",
132
+ "released_at": 1664366000,
133
+ "items": [
134
+ {
135
+ "title": "Bug where fatal error could be caused in some hosting environments.",
136
+ "type": "fixed"
137
+ }
138
+ ]
139
+ },
140
  {
141
  "version": "8",
142
  "released_at": 1664360000,
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: 16.1.8
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: 16.1.9
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": "16.1.8",
4
- "release_timestamp": 1664360000,
5
- "build": "202209.2802",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
1
  {
2
  "properties": {
3
+ "version": "16.1.9",
4
+ "release_timestamp": 1664366000,
5
+ "build": "202209.2803",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
plugin.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "properties": {
3
- "version": "16.1.8",
4
- "release_timestamp": 1664360000,
5
- "build": "202209.2802",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
1
  {
2
  "properties": {
3
+ "version": "16.1.9",
4
+ "release_timestamp": 1664366000,
5
+ "build": "202209.2803",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
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: 6.0
11
- Stable tag: 16.1.8
12
 
13
  Bad Bots Are Your #1 Security Risk. Stop playing whack-a-mole with malware and vulnerabilities. Discover the advantage of putting real security before marketing.
14
 
8
  Requires PHP: 7.0
9
  Recommended PHP: 7.4
10
  Tested up to: 6.0
11
+ Stable tag: 16.1.9
12
 
13
  Bad Bots Are Your #1 Security Risk. Stop playing whack-a-mole with malware and vulnerabilities. Discover the advantage of putting real security before marketing.
14
 
src/lib/vendor/composer/installed.json CHANGED
@@ -288,17 +288,17 @@
288
  },
289
  {
290
  "name": "fernleafsystems/wordpress-services",
291
- "version": "2.30.4",
292
- "version_normalized": "2.30.4.0",
293
  "source": {
294
  "type": "git",
295
  "url": "git@gitlab.com:fernleafsystems/wordpress/wordpress-services.git",
296
- "reference": "efae7303c68bbaa96785f7f4fc7fc42e1dbfbe31"
297
  },
298
  "dist": {
299
  "type": "zip",
300
- "url": "https://gitlab.com/api/v4/projects/fernleafsystems%2Fwordpress%2Fwordpress-services/repository/archive.zip?sha=efae7303c68bbaa96785f7f4fc7fc42e1dbfbe31",
301
- "reference": "efae7303c68bbaa96785f7f4fc7fc42e1dbfbe31",
302
  "shasum": ""
303
  },
304
  "require": {
@@ -317,7 +317,7 @@
317
  "symfony/yaml": "~3.0",
318
  "twig/twig": "^1.42"
319
  },
320
- "time": "2022-09-15T09:56:36+00:00",
321
  "type": "library",
322
  "installation-source": "dist",
323
  "autoload": {
288
  },
289
  {
290
  "name": "fernleafsystems/wordpress-services",
291
+ "version": "2.30.5",
292
+ "version_normalized": "2.30.5.0",
293
  "source": {
294
  "type": "git",
295
  "url": "git@gitlab.com:fernleafsystems/wordpress/wordpress-services.git",
296
+ "reference": "66eee2db7f2926132bf84b1c438e4c72df24b96e"
297
  },
298
  "dist": {
299
  "type": "zip",
300
+ "url": "https://gitlab.com/api/v4/projects/fernleafsystems%2Fwordpress%2Fwordpress-services/repository/archive.zip?sha=66eee2db7f2926132bf84b1c438e4c72df24b96e",
301
+ "reference": "66eee2db7f2926132bf84b1c438e4c72df24b96e",
302
  "shasum": ""
303
  },
304
  "require": {
317
  "symfony/yaml": "~3.0",
318
  "twig/twig": "^1.42"
319
  },
320
+ "time": "2022-09-28T11:51:56+00:00",
321
  "type": "library",
322
  "installation-source": "dist",
323
  "autoload": {
src/lib/vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '0fa37beb913fdb9abce42a6fda3e33d4fa3afa0e',
9
  'name' => 'apto-shield/requirements',
10
  'dev' => true,
11
  ),
@@ -25,7 +25,7 @@
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
- 'reference' => '0fa37beb913fdb9abce42a6fda3e33d4fa3afa0e',
29
  'dev_requirement' => false,
30
  ),
31
  'christian-riesen/base32' => array(
@@ -74,12 +74,12 @@
74
  'dev_requirement' => false,
75
  ),
76
  'fernleafsystems/wordpress-services' => array(
77
- 'pretty_version' => '2.30.4',
78
- 'version' => '2.30.4.0',
79
  'type' => 'library',
80
  'install_path' => __DIR__ . '/../fernleafsystems/wordpress-services',
81
  'aliases' => array(),
82
- 'reference' => 'efae7303c68bbaa96785f7f4fc7fc42e1dbfbe31',
83
  'dev_requirement' => false,
84
  ),
85
  'fernleafsystems/zxcvbn-php' => array(
5
  'type' => 'library',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '3f9fbc046a50da149acef24ecc0b61296882b37a',
9
  'name' => 'apto-shield/requirements',
10
  'dev' => true,
11
  ),
25
  'type' => 'library',
26
  'install_path' => __DIR__ . '/../../',
27
  'aliases' => array(),
28
+ 'reference' => '3f9fbc046a50da149acef24ecc0b61296882b37a',
29
  'dev_requirement' => false,
30
  ),
31
  'christian-riesen/base32' => array(
74
  'dev_requirement' => false,
75
  ),
76
  'fernleafsystems/wordpress-services' => array(
77
+ 'pretty_version' => '2.30.5',
78
+ 'version' => '2.30.5.0',
79
  'type' => 'library',
80
  'install_path' => __DIR__ . '/../fernleafsystems/wordpress-services',
81
  'aliases' => array(),
82
+ 'reference' => '66eee2db7f2926132bf84b1c438e4c72df24b96e',
83
  'dev_requirement' => false,
84
  ),
85
  'fernleafsystems/zxcvbn-php' => array(
src/lib/vendor/fernleafsystems/wordpress-services/src/Core/Fs.php CHANGED
@@ -126,42 +126,45 @@ class Fs {
126
  }
127
 
128
  /**
129
- * @param string $sDir
130
  * @return bool
131
  */
132
- protected function canAccessDirectory( $sDir ) {
133
- return !is_null( $this->getDirIterator( $sDir ) );
134
  }
135
 
136
  /**
137
- * @param string $sDir
138
- * @param bool $bIncludeDirs
139
  * @return string[]
140
  */
141
- public function getAllFilesInDir( $sDir, $bIncludeDirs = true ) {
142
- $aFiles = [];
143
- if ( $this->canAccessDirectory( $sDir ) ) {
144
- foreach ( $this->getDirIterator( $sDir ) as $oFileItem ) {
145
- if ( !$oFileItem->isDot() && ( $oFileItem->isFile() || $bIncludeDirs ) ) {
146
- $aFiles[] = $oFileItem->getPathname();
147
  }
148
  }
149
  }
150
- return empty( $aFiles ) ? [] : $aFiles;
151
  }
152
 
153
  /**
154
- * @param string $sDir
155
  * @return \DirectoryIterator|null
156
  */
157
- protected function getDirIterator( $sDir ) {
158
- try {
159
- $oIterator = new \DirectoryIterator( $sDir );
160
- }
161
- catch ( \Exception $oE ) { // UnexpectedValueException, RuntimeException, Exception
162
- $oIterator = null;
 
 
 
163
  }
164
- return $oIterator;
165
  }
166
 
167
  /**
126
  }
127
 
128
  /**
129
+ * @param string $dir
130
  * @return bool
131
  */
132
+ protected function canAccessDirectory( $dir ) :bool {
133
+ return !is_null( $this->getDirIterator( $dir ) );
134
  }
135
 
136
  /**
137
+ * @param string $dir
138
+ * @param bool $includeDirs
139
  * @return string[]
140
  */
141
+ public function getAllFilesInDir( $dir, $includeDirs = true ) {
142
+ $files = [];
143
+ if ( $this->canAccessDirectory( $dir ) ) {
144
+ foreach ( $this->getDirIterator( $dir ) as $fileItem ) {
145
+ if ( !$fileItem->isDot() && ( $fileItem->isFile() || $includeDirs ) ) {
146
+ $files[] = $fileItem->getPathname();
147
  }
148
  }
149
  }
150
+ return empty( $files ) ? [] : $files;
151
  }
152
 
153
  /**
154
+ * @param string $dir
155
  * @return \DirectoryIterator|null
156
  */
157
+ protected function getDirIterator( $dir ) {
158
+ $iterator = null;
159
+
160
+ if ( !empty( $dir ) && $this->isDir( $dir ) ) {
161
+ try {
162
+ $iterator = new \DirectoryIterator( $dir );
163
+ }
164
+ catch ( \Exception $e ) { // UnexpectedValueException, RuntimeException, Exception
165
+ }
166
  }
167
+ return $iterator;
168
  }
169
 
170
  /**