Shield Security for WordPress - Version 10.2.3

Version Description

Download this release

Release Info

Developer paultgoodchild
Plugin Icon 128x128 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 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.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.2",
4
- "release_timestamp": 1613050536,
5
- "build": "202102.1103",
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.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', 'overview' );
80
- $oTourManager = $con->getModule_Plugin()->getTourManager();
81
-
82
- switch ( $iNav ) {
83
-
84
- case 'importexport':
85
- $enq[ Enqueue::JS ][] = 'shield/import';
86
- break;
87
-
88
- case 'overview':
89
- case 'reports':
90
-
91
- $enq[ Enqueue::JS ] = [
92
- 'chartist.min',
93
- 'chartist-plugin-legend',
94
- 'charts',
95
- 'shuffle',
96
- 'shield-card-shuffle',
97
- 'ip_detect'
98
- ];
99
- $enq[ Enqueue::CSS ] = [
100
- 'chartist.min',
101
- 'chartist-plugin-legend'
102
- ];
103
-
104
- if ( $oTourManager->canShow( 'insights_overview' ) ) {
105
- $enq[ Enqueue::JS ][] = 'introjs.min';
106
- $enq[ Enqueue::CSS ][] = 'introjs.min';
107
- }
108
- break;
109
-
110
- case 'notes':
111
- case 'scans':
112
- case 'audit':
113
- case 'traffic':
114
- case 'ips':
115
- case 'debug':
116
- case 'users':
117
-
118
- $enq[ Enqueue::JS ][] = 'shield-tables';
119
- if ( $iNav == 'scans' ) {
120
- $enq[ Enqueue::JS ][] = 'shield-scans';
121
- }
122
- elseif ( $iNav == 'ips' ) {
123
- $enq[ Enqueue::JS ][] = 'shield/ipanalyse';
124
- }
125
-
126
- if ( in_array( $iNav, [ 'audit', 'traffic' ] ) ) {
127
- $enq[ Enqueue::JS ][] = 'bootstrap-datepicker';
128
- $enq[ Enqueue::CSS ][] = 'bootstrap-datepicker';
129
- }
130
- break;
 
 
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;