Version Description
Download this release
Release Info
Developer | paultgoodchild |
Plugin | Shield Security for WordPress |
Version | 10.2.3 |
Comparing to | |
See all releases |
Code changes from version 10.2.2 to 10.2.3
- cl.json +6 -0
- icwp-wpsf.php +1 -1
- plugin-spec.php +3 -3
- readme.txt +1 -1
- src/lib/src/Modules/Insights/ModCon.php +54 -52
cl.json
CHANGED
@@ -101,6 +101,12 @@
|
|
101 |
"title": "Fatal error in some cases",
|
102 |
"description": [],
|
103 |
"patch": "10.2.2"
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
}
|
105 |
]
|
106 |
},
|
101 |
"title": "Fatal error in some cases",
|
102 |
"description": [],
|
103 |
"patch": "10.2.2"
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"type": "fixed",
|
107 |
+
"title": "Certain admin JS and CSS assets were loading on the frontend.",
|
108 |
+
"description": [],
|
109 |
+
"patch": "10.2.3"
|
110 |
}
|
111 |
]
|
112 |
},
|
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.2.
|
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.2.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.2.
|
4 |
-
"release_timestamp":
|
5 |
-
"build": "202102.
|
6 |
"slug_parent": "icwp",
|
7 |
"slug_plugin": "wpsf",
|
8 |
"human_name": "Shield Security",
|
1 |
{
|
2 |
"properties": {
|
3 |
+
"version": "10.2.3",
|
4 |
+
"release_timestamp": 1613311800,
|
5 |
+
"build": "202102.1401",
|
6 |
"slug_parent": "icwp",
|
7 |
"slug_plugin": "wpsf",
|
8 |
"human_name": "Shield Security",
|
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.6
|
11 |
-
Stable tag: 10.2.
|
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.6
|
11 |
+
Stable tag: 10.2.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/Insights/ModCon.php
CHANGED
@@ -76,58 +76,60 @@ class ModCon extends BaseShield\ModCon {
|
|
76 |
];
|
77 |
|
78 |
$con = $this->getCon();
|
79 |
-
$iNav = Services::Request()->query( 'inav'
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
$
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
$
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
131 |
}
|
132 |
|
133 |
return $enq;
|
76 |
];
|
77 |
|
78 |
$con = $this->getCon();
|
79 |
+
$iNav = Services::Request()->query( 'inav' );
|
80 |
+
|
81 |
+
if ( $con->getIsPage_PluginAdmin() && !empty( $iNav ) ) {
|
82 |
+
$oTourManager = $con->getModule_Plugin()->getTourManager();
|
83 |
+
switch ( $iNav ) {
|
84 |
+
|
85 |
+
case 'importexport':
|
86 |
+
$enq[ Enqueue::JS ][] = 'shield/import';
|
87 |
+
break;
|
88 |
+
|
89 |
+
case 'overview':
|
90 |
+
case 'reports':
|
91 |
+
|
92 |
+
$enq[ Enqueue::JS ] = [
|
93 |
+
'chartist.min',
|
94 |
+
'chartist-plugin-legend',
|
95 |
+
'charts',
|
96 |
+
'shuffle',
|
97 |
+
'shield-card-shuffle',
|
98 |
+
'ip_detect'
|
99 |
+
];
|
100 |
+
$enq[ Enqueue::CSS ] = [
|
101 |
+
'chartist.min',
|
102 |
+
'chartist-plugin-legend'
|
103 |
+
];
|
104 |
+
|
105 |
+
if ( $oTourManager->canShow( 'insights_overview' ) ) {
|
106 |
+
$enq[ Enqueue::JS ][] = 'introjs.min';
|
107 |
+
$enq[ Enqueue::CSS ][] = 'introjs.min';
|
108 |
+
}
|
109 |
+
break;
|
110 |
+
|
111 |
+
case 'notes':
|
112 |
+
case 'scans':
|
113 |
+
case 'audit':
|
114 |
+
case 'traffic':
|
115 |
+
case 'ips':
|
116 |
+
case 'debug':
|
117 |
+
case 'users':
|
118 |
+
|
119 |
+
$enq[ Enqueue::JS ][] = 'shield-tables';
|
120 |
+
if ( $iNav == 'scans' ) {
|
121 |
+
$enq[ Enqueue::JS ][] = 'shield-scans';
|
122 |
+
}
|
123 |
+
elseif ( $iNav == 'ips' ) {
|
124 |
+
$enq[ Enqueue::JS ][] = 'shield/ipanalyse';
|
125 |
+
}
|
126 |
+
|
127 |
+
if ( in_array( $iNav, [ 'audit', 'traffic' ] ) ) {
|
128 |
+
$enq[ Enqueue::JS ][] = 'bootstrap-datepicker';
|
129 |
+
$enq[ Enqueue::CSS ][] = 'bootstrap-datepicker';
|
130 |
+
}
|
131 |
+
break;
|
132 |
+
}
|
133 |
}
|
134 |
|
135 |
return $enq;
|