Version Description
Download this release
Release Info
Developer | paultgoodchild |
Plugin | Shield Security for WordPress |
Version | 10.1.3 |
Comparing to | |
See all releases |
Code changes from version 10.1.2 to 10.1.3
cl.json
CHANGED
@@ -81,6 +81,12 @@
|
|
81 |
"title": "Bug with PHP Type Error in some cases",
|
82 |
"description": [],
|
83 |
"patch": "10.1.2"
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
]
|
86 |
},
|
81 |
"title": "Bug with PHP Type Error in some cases",
|
82 |
"description": [],
|
83 |
"patch": "10.1.2"
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"type": "fixed",
|
87 |
+
"title": "Bug with MainWP site actions not working in all cases",
|
88 |
+
"description": [],
|
89 |
+
"patch": "10.1.3"
|
90 |
}
|
91 |
]
|
92 |
},
|
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.
|
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.3
|
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.
|
4 |
-
"release_timestamp":
|
5 |
-
"build": "202011.
|
6 |
"slug_parent": "icwp",
|
7 |
"slug_plugin": "wpsf",
|
8 |
"human_name": "Shield",
|
1 |
{
|
2 |
"properties": {
|
3 |
+
"version": "10.1.3",
|
4 |
+
"release_timestamp": 1605692545,
|
5 |
+
"build": "202011.1801",
|
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.
|
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.3
|
12 |
|
13 |
The highest rated WordPress Security plugin, delivering unparalleled, all-in-one protection for you and your customers.
|
14 |
|
src/lib/src/Modules/Integrations/Lib/MainWP/Server/Ajax/AjaxHandlerMainwp.php
CHANGED
@@ -16,11 +16,11 @@ class AjaxHandlerMainwp extends Shield\Modules\BaseShield\AjaxHandler {
|
|
16 |
|
17 |
switch ( $action ) {
|
18 |
case 'mwp_sh_ext_table':
|
19 |
-
$resp = $this->
|
20 |
break;
|
21 |
|
22 |
case 'mwp_sh_site_action':
|
23 |
-
$resp = $this->
|
24 |
break;
|
25 |
|
26 |
default:
|
16 |
|
17 |
switch ( $action ) {
|
18 |
case 'mwp_sh_ext_table':
|
19 |
+
$resp = $this->ajaxExec_ExtensionTableSites();
|
20 |
break;
|
21 |
|
22 |
case 'mwp_sh_site_action':
|
23 |
+
$resp = $this->ajaxExec_SiteAction();
|
24 |
break;
|
25 |
|
26 |
default:
|
src/lib/src/Modules/Integrations/Lib/MainWP/Server/UI/PageRender/SitesList.php
CHANGED
@@ -46,6 +46,10 @@ class SitesList extends BaseRender {
|
|
46 |
ClientPluginStatus::VERSION_NEWER_THAN_SERVER,
|
47 |
ClientPluginStatus::VERSION_OLDER_THAN_SERVER,
|
48 |
] );
|
|
|
|
|
|
|
|
|
49 |
|
50 |
if ( $shd[ 'is_active' ] ) {
|
51 |
|
46 |
ClientPluginStatus::VERSION_NEWER_THAN_SERVER,
|
47 |
ClientPluginStatus::VERSION_OLDER_THAN_SERVER,
|
48 |
] );
|
49 |
+
$shd[ 'can_sync' ] = in_array( $shd[ 'status_key' ], [
|
50 |
+
ClientPluginStatus::ACTIVE,
|
51 |
+
ClientPluginStatus::NEED_SYNC,
|
52 |
+
] );
|
53 |
|
54 |
if ( $shd[ 'is_active' ] ) {
|
55 |
|
templates/twig/integration/mainwp/pages/sites.twig
CHANGED
@@ -90,7 +90,7 @@
|
|
90 |
|
91 |
<a href="#"
|
92 |
data-saction="sync"
|
93 |
-
class="item site_action {% if not site.shield.
|
94 |
>{{ strings.act_sync }}</a>
|
95 |
|
96 |
{% if site.shield.is_inactive %}
|
90 |
|
91 |
<a href="#"
|
92 |
data-saction="sync"
|
93 |
+
class="item site_action {% if not site.shield.can_sync %}disabled{% endif %}"
|
94 |
>{{ strings.act_sync }}</a>
|
95 |
|
96 |
{% if site.shield.is_inactive %}
|