Version Description
Download this release
Release Info
Developer | paultgoodchild |
Plugin | Shield Security for WordPress |
Version | 10.0.2 |
Comparing to | |
See all releases |
Code changes from version 10.0.1 to 10.0.2
cl.json
CHANGED
@@ -116,6 +116,12 @@
|
|
116 |
"In some cases during plugin upgrade, some table may get inadvertently deleted."
|
117 |
],
|
118 |
"patch": "10.0.1"
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
}
|
120 |
]
|
121 |
},
|
116 |
"In some cases during plugin upgrade, some table may get inadvertently deleted."
|
117 |
],
|
118 |
"patch": "10.0.1"
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"type": "fixed",
|
122 |
+
"title": "Fatal error when IP address isn't detected",
|
123 |
+
"description": [],
|
124 |
+
"patch": "10.0.2"
|
125 |
}
|
126 |
]
|
127 |
},
|
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.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: 10.0.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.0.
|
4 |
-
"release_timestamp":
|
5 |
-
"build": "202010.
|
6 |
"slug_parent": "icwp",
|
7 |
"slug_plugin": "wpsf",
|
8 |
"human_name": "Shield",
|
1 |
{
|
2 |
"properties": {
|
3 |
+
"version": "10.0.2",
|
4 |
+
"release_timestamp": 1603297441,
|
5 |
+
"build": "202010.2103",
|
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.0.
|
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.0.2
|
12 |
|
13 |
The highest rated WordPress Security plugin, delivering unparalleled, all-in-one protection for you and your customers.
|
14 |
|
src/lib/vendor/composer/autoload_classmap.php
CHANGED
@@ -647,7 +647,6 @@ return array(
|
|
647 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\ReCaptcha\\WordpressPost' => $baseDir . '/src/Utilities/ReCaptcha/WordpressPost.php',
|
648 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\FormatBytes' => $baseDir . '/src/Utilities/Tool/FormatBytes.php',
|
649 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\IpListSort' => $baseDir . '/src/Utilities/Tool/IpListSort.php',
|
650 |
-
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\UI\\BootstrapIcons' => $baseDir . '/src/Utilities/UI/BootstrapIcons.php',
|
651 |
'FernleafSystems\\Wordpress\\Services\\Core\\AdminNotices' => $vendorDir . '/fernleafsystems/wordpress-services/src/Core/AdminNotices.php',
|
652 |
'FernleafSystems\\Wordpress\\Services\\Core\\Comments' => $vendorDir . '/fernleafsystems/wordpress-services/src/Core/Comments.php',
|
653 |
'FernleafSystems\\Wordpress\\Services\\Core\\CoreFileHashes' => $vendorDir . '/fernleafsystems/wordpress-services/src/Core/CoreFileHashes.php',
|
647 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\ReCaptcha\\WordpressPost' => $baseDir . '/src/Utilities/ReCaptcha/WordpressPost.php',
|
648 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\FormatBytes' => $baseDir . '/src/Utilities/Tool/FormatBytes.php',
|
649 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\IpListSort' => $baseDir . '/src/Utilities/Tool/IpListSort.php',
|
|
|
650 |
'FernleafSystems\\Wordpress\\Services\\Core\\AdminNotices' => $vendorDir . '/fernleafsystems/wordpress-services/src/Core/AdminNotices.php',
|
651 |
'FernleafSystems\\Wordpress\\Services\\Core\\Comments' => $vendorDir . '/fernleafsystems/wordpress-services/src/Core/Comments.php',
|
652 |
'FernleafSystems\\Wordpress\\Services\\Core\\CoreFileHashes' => $vendorDir . '/fernleafsystems/wordpress-services/src/Core/CoreFileHashes.php',
|
src/lib/vendor/composer/autoload_static.php
CHANGED
@@ -814,7 +814,6 @@ class ComposerStaticInitc033edbeedae962d195a0e6365975a5a
|
|
814 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\ReCaptcha\\WordpressPost' => __DIR__ . '/../..' . '/src/Utilities/ReCaptcha/WordpressPost.php',
|
815 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\FormatBytes' => __DIR__ . '/../..' . '/src/Utilities/Tool/FormatBytes.php',
|
816 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\IpListSort' => __DIR__ . '/../..' . '/src/Utilities/Tool/IpListSort.php',
|
817 |
-
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\UI\\BootstrapIcons' => __DIR__ . '/../..' . '/src/Utilities/UI/BootstrapIcons.php',
|
818 |
'FernleafSystems\\Wordpress\\Services\\Core\\AdminNotices' => __DIR__ . '/..' . '/fernleafsystems/wordpress-services/src/Core/AdminNotices.php',
|
819 |
'FernleafSystems\\Wordpress\\Services\\Core\\Comments' => __DIR__ . '/..' . '/fernleafsystems/wordpress-services/src/Core/Comments.php',
|
820 |
'FernleafSystems\\Wordpress\\Services\\Core\\CoreFileHashes' => __DIR__ . '/..' . '/fernleafsystems/wordpress-services/src/Core/CoreFileHashes.php',
|
814 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\ReCaptcha\\WordpressPost' => __DIR__ . '/../..' . '/src/Utilities/ReCaptcha/WordpressPost.php',
|
815 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\FormatBytes' => __DIR__ . '/../..' . '/src/Utilities/Tool/FormatBytes.php',
|
816 |
'FernleafSystems\\Wordpress\\Plugin\\Shield\\Utilities\\Tool\\IpListSort' => __DIR__ . '/../..' . '/src/Utilities/Tool/IpListSort.php',
|
|
|
817 |
'FernleafSystems\\Wordpress\\Services\\Core\\AdminNotices' => __DIR__ . '/..' . '/fernleafsystems/wordpress-services/src/Core/AdminNotices.php',
|
818 |
'FernleafSystems\\Wordpress\\Services\\Core\\Comments' => __DIR__ . '/..' . '/fernleafsystems/wordpress-services/src/Core/Comments.php',
|
819 |
'FernleafSystems\\Wordpress\\Services\\Core\\CoreFileHashes' => __DIR__ . '/..' . '/fernleafsystems/wordpress-services/src/Core/CoreFileHashes.php',
|
src/lib/vendor/fernleafsystems/wordpress-services/src/Utilities/Net/VisitorIpDetection.php
CHANGED
@@ -49,16 +49,18 @@ class VisitorIpDetection extends BaseIP {
|
|
49 |
|
50 |
public function getIPIdentity() :string {
|
51 |
if ( empty( $this->identity ) ) {
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
|
|
|
|
|
|
58 |
}
|
59 |
-
}
|
60 |
-
catch ( \Exception $e ) {
|
61 |
-
$this->identity = IpIdentify::UNKNOWN;
|
62 |
}
|
63 |
}
|
64 |
return $this->identity;
|
49 |
|
50 |
public function getIPIdentity() :string {
|
51 |
if ( empty( $this->identity ) ) {
|
52 |
+
$this->identity = IpIdentify::UNKNOWN;
|
53 |
+
if ( !empty( $this->getIP() ) ) {
|
54 |
+
try {
|
55 |
+
$this->identity = key(
|
56 |
+
( new IpIdentify( $this->getIP(), Services::Request()->getUserAgent() ) )->run()
|
57 |
+
);
|
58 |
+
if ( $this->identity === IpIdentify::VISITOR ) {
|
59 |
+
$this->identity = IpIdentify::UNKNOWN;
|
60 |
+
}
|
61 |
+
}
|
62 |
+
catch ( \Exception $e ) {
|
63 |
}
|
|
|
|
|
|
|
64 |
}
|
65 |
}
|
66 |
return $this->identity;
|