Version Description
Download this release
Release Info
Developer | paultgoodchild |
Plugin | Shield Security for WordPress |
Version | 11.5.5 |
Comparing to | |
See all releases |
Code changes from version 11.5.4 to 11.5.5
cl.json
CHANGED
@@ -123,6 +123,18 @@
|
|
123 |
"title": "Scan results were being reported, but not displayed in results tables in some cases.",
|
124 |
"description": [],
|
125 |
"patch": "11.5.4"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
}
|
127 |
]
|
128 |
},
|
123 |
"title": "Scan results were being reported, but not displayed in results tables in some cases.",
|
124 |
"description": [],
|
125 |
"patch": "11.5.4"
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"type": "fixed",
|
129 |
+
"title": "Scan results wouldn't be updated after scans completed in some cases.",
|
130 |
+
"description": [],
|
131 |
+
"patch": "11.5.5"
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"type": "fixed",
|
135 |
+
"title": "Shield would apply login blocks for requests originating from a whitelisted IP addresses.",
|
136 |
+
"description": [],
|
137 |
+
"patch": "11.5.5"
|
138 |
}
|
139 |
]
|
140 |
},
|
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.5.
|
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.5.5
|
7 |
* Text Domain: wp-simple-firewall
|
8 |
* Domain Path: /languages
|
9 |
* Author: Shield Security
|
plugin.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"properties": {
|
3 |
-
"version": "11.5.
|
4 |
-
"release_timestamp":
|
5 |
-
"build": "
|
6 |
"slug_parent": "icwp",
|
7 |
"slug_plugin": "wpsf",
|
8 |
"human_name": "Shield Security",
|
1 |
{
|
2 |
"properties": {
|
3 |
+
"version": "11.5.5",
|
4 |
+
"release_timestamp": 1631201669,
|
5 |
+
"build": "202109.0901",
|
6 |
"slug_parent": "icwp",
|
7 |
"slug_plugin": "wpsf",
|
8 |
"human_name": "Shield Security",
|
src/lib/src/Modules/HackGuard/Scan/Queue/CompleteQueue.php
CHANGED
@@ -40,33 +40,30 @@ class CompleteQueue {
|
|
40 |
|
41 |
$con->fireEvent( $scanSlug.'_scan_run' );
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
(
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
'audit' => [
|
65 |
-
'items' => $items
|
66 |
-
]
|
67 |
]
|
68 |
-
|
69 |
-
|
70 |
}
|
71 |
|
72 |
/** @var Databases\ScanQueue\Delete $deleter */
|
40 |
|
41 |
$con->fireEvent( $scanSlug.'_scan_run' );
|
42 |
|
43 |
+
( new HackGuard\Scan\Results\ResultsUpdate() )
|
44 |
+
->setScanController( $scanCon )
|
45 |
+
->update( $resultsSet );
|
46 |
+
|
47 |
+
if ( $resultsSet->countItems() > 0 ) {
|
48 |
+
|
49 |
+
$items = $resultsSet->countItems() > 30 ?
|
50 |
+
__( 'Only the first 30 items are shown.', 'wp-simple-firewall' )
|
51 |
+
: __( 'The following items were discovered.', 'wp-simple-firewall' );
|
52 |
+
|
53 |
+
$items .= ' "'.
|
54 |
+
implode( '", "', array_map( function ( $item ) {
|
55 |
+
return $item->getDescriptionForAudit();
|
56 |
+
}, array_slice( $resultsSet->getItems(), 0, 30 ) ) )
|
57 |
+
.'"';
|
58 |
+
|
59 |
+
$con->fireEvent(
|
60 |
+
$scanSlug.'_scan_found',
|
61 |
+
[
|
62 |
+
'audit' => [
|
63 |
+
'items' => $items
|
|
|
|
|
|
|
64 |
]
|
65 |
+
]
|
66 |
+
);
|
67 |
}
|
68 |
|
69 |
/** @var Databases\ScanQueue\Delete $deleter */
|
src/lib/src/Modules/Integrations/Lib/Bots/Common/BaseBotDetectionController.php
CHANGED
@@ -3,11 +3,14 @@
|
|
3 |
namespace FernleafSystems\Wordpress\Plugin\Shield\Modules\Integrations\Lib\Bots\Common;
|
4 |
|
5 |
use FernleafSystems\Wordpress\Plugin\Shield\Modules\Base\Common\ExecOnceModConsumer;
|
|
|
6 |
|
7 |
abstract class BaseBotDetectionController extends ExecOnceModConsumer {
|
8 |
|
9 |
protected function canRun() :bool {
|
10 |
-
|
|
|
|
|
11 |
}
|
12 |
|
13 |
protected function run() {
|
3 |
namespace FernleafSystems\Wordpress\Plugin\Shield\Modules\Integrations\Lib\Bots\Common;
|
4 |
|
5 |
use FernleafSystems\Wordpress\Plugin\Shield\Modules\Base\Common\ExecOnceModConsumer;
|
6 |
+
use FernleafSystems\Wordpress\Plugin\Shield\Modules\Integrations\ModCon;
|
7 |
|
8 |
abstract class BaseBotDetectionController extends ExecOnceModConsumer {
|
9 |
|
10 |
protected function canRun() :bool {
|
11 |
+
/** @var ModCon $mod */
|
12 |
+
$mod = $this->getMod();
|
13 |
+
return $this->isEnabled() && !$mod->isVisitorWhitelisted();
|
14 |
}
|
15 |
|
16 |
protected function run() {
|