Shield Security for WordPress - Version 16.1.1

Version Description

Download this release

Release Info

Developer paultgoodchild
Plugin Icon 128x128 Shield Security for WordPress
Version 16.1.1
Comparing to
See all releases

Code changes from version 16.1.0 to 16.1.1

cl.json CHANGED
@@ -125,6 +125,22 @@
125
  "Shield no longer attempts to solve the issue of invalid 'from' email addresses on a WordPress site."
126
  ]
127
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  ]
129
  },
130
  "15.1": {
125
  "Shield no longer attempts to solve the issue of invalid 'from' email addresses on a WordPress site."
126
  ]
127
  }
128
+ ],
129
+ "patches": [
130
+ {
131
+ "version": "1",
132
+ "released_at": 1662985000,
133
+ "items": [
134
+ {
135
+ "title": "Fix DB creation error on initialisation on a new website.",
136
+ "type": "fixed"
137
+ },
138
+ {
139
+ "title": "Fix error with Overview page when analysing the firewall grade, after removing Leading Schemas.",
140
+ "type": "fixed"
141
+ }
142
+ ]
143
+ }
144
  ]
145
  },
146
  "15.1": {
config/data.json CHANGED
@@ -54,7 +54,7 @@
54
  "has_deleted_at": false,
55
  "cols_custom": {
56
  "req_id": {
57
- "macro_type": "scenario",
58
  "length": 10,
59
  "attr": [
60
  "UNIQUE"
54
  "has_deleted_at": false,
55
  "cols_custom": {
56
  "req_id": {
57
+ "macro_type": "varchar",
58
  "length": 10,
59
  "attr": [
60
  "UNIQUE"
config/deprecated/firewall.php CHANGED
@@ -365,14 +365,6 @@
365
  "\\.(dll|rb|py|exe|php[3-6]?|pl|perl|ph[34]|phl|phtml|phtm|sql|ini|jsp|asp|git|svn|tar)$"
366
  ]
367
  },
368
- "leading_schema": {
369
- "simple": [
370
- ".shtml"
371
- ],
372
- "regex": [
373
- "^(http|https|ftp|file):"
374
- ]
375
- },
376
  "php_code": {
377
  "simple": null,
378
  "regex": [
365
  "\\.(dll|rb|py|exe|php[3-6]?|pl|perl|ph[34]|phl|phtml|phtm|sql|ini|jsp|asp|git|svn|tar)$"
366
  ]
367
  },
 
 
 
 
 
 
 
 
368
  "php_code": {
369
  "simple": null,
370
  "regex": [
config/firewall.json CHANGED
@@ -365,14 +365,6 @@
365
  "\\.(dll|rb|py|exe|php[3-6]?|pl|perl|ph[34]|phl|phtml|phtm|sql|ini|jsp|asp|git|svn|tar)$"
366
  ]
367
  },
368
- "leading_schema": {
369
- "simple": [
370
- ".shtml"
371
- ],
372
- "regex": [
373
- "^(http|https|ftp|file):"
374
- ]
375
- },
376
  "php_code": {
377
  "simple": null,
378
  "regex": [
365
  "\\.(dll|rb|py|exe|php[3-6]?|pl|perl|ph[34]|phl|phtml|phtm|sql|ini|jsp|asp|git|svn|tar)$"
366
  ]
367
  },
 
 
 
 
 
 
 
 
368
  "php_code": {
369
  "simple": null,
370
  "regex": [
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: 16.1.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: 16.1.1
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": "16.1.0",
4
- "release_timestamp": 1662984000,
5
- "build": "202209.1001",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
@@ -35,6 +35,11 @@
35
  "php": "7.0",
36
  "wp": "3.7",
37
  "mysql": "5.6"
 
 
 
 
 
38
  }
39
  },
40
  "paths": {
@@ -88,13 +93,7 @@
88
  "register": {
89
  "css": {
90
  "bootstrap": {
91
- "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.0/css/bootstrap.min.css"
92
- },
93
- "bootstrap-datepicker": {
94
- "url": "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.min.css",
95
- "deps": [
96
- "bootstrap"
97
- ]
98
  },
99
  "select2": {
100
  "url": "https://cdnjs.cloudflare.com/ajax/libs/select2/4.1.0-rc.0/css/select2.min.css",
@@ -102,30 +101,12 @@
102
  "plugin"
103
  ]
104
  },
105
- "datatables-bootstrap": {
106
- "url": "https://cdn.datatables.net/1.11.5/css/dataTables.bootstrap5.min.css",
107
  "deps": [
108
  "bootstrap"
109
  ]
110
  },
111
- "datatables-searchpanes": {
112
- "url": "https://cdn.datatables.net/searchpanes/2.0.0/css/searchPanes.dataTables.min.css",
113
- "deps": [
114
- "datatables-bootstrap"
115
- ]
116
- },
117
- "datatables-select": {
118
- "url": "https://cdn.datatables.net/select/1.3.4/css/select.dataTables.min.css",
119
- "deps": [
120
- "datatables-bootstrap"
121
- ]
122
- },
123
- "datatables-buttons": {
124
- "url": "https://cdn.datatables.net/buttons/2.2.2/css/buttons.dataTables.min.css",
125
- "deps": [
126
- "datatables-bootstrap"
127
- ]
128
- },
129
  "jquery/smartwizard": {
130
  "url": "https://cdn.jsdelivr.net/npm/smartwizard@6/dist/css/smart_wizard_all.min.css"
131
  },
@@ -174,10 +155,7 @@
174
  },
175
  "shield/datatables": {
176
  "deps": [
177
- "datatables-select",
178
- "datatables-buttons",
179
- "datatables-bootstrap",
180
- "datatables-searchpanes",
181
  "tp/highlightjs"
182
  ]
183
  },
@@ -190,7 +168,7 @@
190
  },
191
  "js": {
192
  "bootstrap": {
193
- "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.0/js/bootstrap.bundle.min.js",
194
  "deps": [
195
  "wp-jquery"
196
  ]
@@ -206,43 +184,13 @@
206
  "plugin"
207
  ]
208
  },
209
- "bootstrap-datepicker": {
210
- "url": "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js",
211
- "deps": [
212
- "bootstrap"
213
- ]
214
- },
215
  "datatables": {
216
- "url": "https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js",
217
  "deps": [
218
  "bootstrap",
219
  "wp-jquery"
220
  ]
221
  },
222
- "datatables-bootstrap": {
223
- "url": "https://cdn.datatables.net/1.11.5/js/dataTables.bootstrap5.min.js",
224
- "deps": [
225
- "datatables"
226
- ]
227
- },
228
- "datatables-searchpanes": {
229
- "url": "https://cdn.datatables.net/searchpanes/2.0.0/js/dataTables.searchPanes.min.js",
230
- "deps": [
231
- "datatables-bootstrap"
232
- ]
233
- },
234
- "datatables-select": {
235
- "url": "https://cdn.datatables.net/select/1.3.4/js/dataTables.select.min.js",
236
- "deps": [
237
- "datatables-bootstrap"
238
- ]
239
- },
240
- "datatables-buttons": {
241
- "url": "https://cdn.datatables.net/buttons/2.2.2/js/dataTables.buttons.min.js",
242
- "deps": [
243
- "datatables-bootstrap"
244
- ]
245
- },
246
  "global-plugin": {
247
  "deps": [
248
  "wp-jquery"
@@ -251,7 +199,7 @@
251
  "plugin": {
252
  "deps": [
253
  "bootstrap",
254
- "datatables-bootstrap",
255
  "global-plugin",
256
  "shield/navigation",
257
  "shield/ipanalyse",
@@ -346,10 +294,7 @@
346
  },
347
  "shield/datatables/common": {
348
  "deps": [
349
- "datatables-select",
350
- "datatables-buttons",
351
- "datatables-bootstrap",
352
- "datatables-searchpanes",
353
  "tp/highlightjs"
354
  ]
355
  },
1
  {
2
  "properties": {
3
+ "version": "16.1.1",
4
+ "release_timestamp": 1662985000,
5
+ "build": "202209.1201",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
35
  "php": "7.0",
36
  "wp": "3.7",
37
  "mysql": "5.6"
38
+ },
39
+ "16.0": {
40
+ "php": "7.0",
41
+ "wp": "4.7",
42
+ "mysql": "5.6"
43
  }
44
  },
45
  "paths": {
93
  "register": {
94
  "css": {
95
  "bootstrap": {
96
+ "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.1/css/bootstrap.min.css"
 
 
 
 
 
 
97
  },
98
  "select2": {
99
  "url": "https://cdnjs.cloudflare.com/ajax/libs/select2/4.1.0-rc.0/css/select2.min.css",
101
  "plugin"
102
  ]
103
  },
104
+ "datatables": {
105
+ "url": "https://cdn.datatables.net/v/bs5/dt-1.12.1/b-2.2.3/sp-2.0.2/sl-1.4.0/datatables.min.css",
106
  "deps": [
107
  "bootstrap"
108
  ]
109
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  "jquery/smartwizard": {
111
  "url": "https://cdn.jsdelivr.net/npm/smartwizard@6/dist/css/smart_wizard_all.min.css"
112
  },
155
  },
156
  "shield/datatables": {
157
  "deps": [
158
+ "datatables",
 
 
 
159
  "tp/highlightjs"
160
  ]
161
  },
168
  },
169
  "js": {
170
  "bootstrap": {
171
+ "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.1/js/bootstrap.bundle.min.js",
172
  "deps": [
173
  "wp-jquery"
174
  ]
184
  "plugin"
185
  ]
186
  },
 
 
 
 
 
 
187
  "datatables": {
188
+ "url": "https://cdn.datatables.net/v/bs5/dt-1.12.1/b-2.2.3/sp-2.0.2/sl-1.4.0/datatables.min.js",
189
  "deps": [
190
  "bootstrap",
191
  "wp-jquery"
192
  ]
193
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  "global-plugin": {
195
  "deps": [
196
  "wp-jquery"
199
  "plugin": {
200
  "deps": [
201
  "bootstrap",
202
+ "datatables",
203
  "global-plugin",
204
  "shield/navigation",
205
  "shield/ipanalyse",
294
  },
295
  "shield/datatables/common": {
296
  "deps": [
297
+ "datatables",
 
 
 
298
  "tp/highlightjs"
299
  ]
300
  },
plugin.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "properties": {
3
- "version": "16.1.0",
4
- "release_timestamp": 1662984000,
5
- "build": "202209.1001",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
@@ -93,13 +93,7 @@
93
  "register": {
94
  "css": {
95
  "bootstrap": {
96
- "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.0/css/bootstrap.min.css"
97
- },
98
- "bootstrap-datepicker": {
99
- "url": "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.min.css",
100
- "deps": [
101
- "bootstrap"
102
- ]
103
  },
104
  "select2": {
105
  "url": "https://cdnjs.cloudflare.com/ajax/libs/select2/4.1.0-rc.0/css/select2.min.css",
@@ -107,30 +101,12 @@
107
  "plugin"
108
  ]
109
  },
110
- "datatables-bootstrap": {
111
- "url": "https://cdn.datatables.net/1.11.5/css/dataTables.bootstrap5.min.css",
112
  "deps": [
113
  "bootstrap"
114
  ]
115
  },
116
- "datatables-searchpanes": {
117
- "url": "https://cdn.datatables.net/searchpanes/2.0.0/css/searchPanes.dataTables.min.css",
118
- "deps": [
119
- "datatables-bootstrap"
120
- ]
121
- },
122
- "datatables-select": {
123
- "url": "https://cdn.datatables.net/select/1.3.4/css/select.dataTables.min.css",
124
- "deps": [
125
- "datatables-bootstrap"
126
- ]
127
- },
128
- "datatables-buttons": {
129
- "url": "https://cdn.datatables.net/buttons/2.2.2/css/buttons.dataTables.min.css",
130
- "deps": [
131
- "datatables-bootstrap"
132
- ]
133
- },
134
  "jquery/smartwizard": {
135
  "url": "https://cdn.jsdelivr.net/npm/smartwizard@6/dist/css/smart_wizard_all.min.css"
136
  },
@@ -179,10 +155,7 @@
179
  },
180
  "shield/datatables": {
181
  "deps": [
182
- "datatables-select",
183
- "datatables-buttons",
184
- "datatables-bootstrap",
185
- "datatables-searchpanes",
186
  "tp/highlightjs"
187
  ]
188
  },
@@ -195,7 +168,7 @@
195
  },
196
  "js": {
197
  "bootstrap": {
198
- "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.0/js/bootstrap.bundle.min.js",
199
  "deps": [
200
  "wp-jquery"
201
  ]
@@ -211,43 +184,13 @@
211
  "plugin"
212
  ]
213
  },
214
- "bootstrap-datepicker": {
215
- "url": "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js",
216
- "deps": [
217
- "bootstrap"
218
- ]
219
- },
220
  "datatables": {
221
- "url": "https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js",
222
  "deps": [
223
  "bootstrap",
224
  "wp-jquery"
225
  ]
226
  },
227
- "datatables-bootstrap": {
228
- "url": "https://cdn.datatables.net/1.11.5/js/dataTables.bootstrap5.min.js",
229
- "deps": [
230
- "datatables"
231
- ]
232
- },
233
- "datatables-searchpanes": {
234
- "url": "https://cdn.datatables.net/searchpanes/2.0.0/js/dataTables.searchPanes.min.js",
235
- "deps": [
236
- "datatables-bootstrap"
237
- ]
238
- },
239
- "datatables-select": {
240
- "url": "https://cdn.datatables.net/select/1.3.4/js/dataTables.select.min.js",
241
- "deps": [
242
- "datatables-bootstrap"
243
- ]
244
- },
245
- "datatables-buttons": {
246
- "url": "https://cdn.datatables.net/buttons/2.2.2/js/dataTables.buttons.min.js",
247
- "deps": [
248
- "datatables-bootstrap"
249
- ]
250
- },
251
  "global-plugin": {
252
  "deps": [
253
  "wp-jquery"
@@ -256,7 +199,7 @@
256
  "plugin": {
257
  "deps": [
258
  "bootstrap",
259
- "datatables-bootstrap",
260
  "global-plugin",
261
  "shield/navigation",
262
  "shield/ipanalyse",
@@ -351,10 +294,7 @@
351
  },
352
  "shield/datatables/common": {
353
  "deps": [
354
- "datatables-select",
355
- "datatables-buttons",
356
- "datatables-bootstrap",
357
- "datatables-searchpanes",
358
  "tp/highlightjs"
359
  ]
360
  },
1
  {
2
  "properties": {
3
+ "version": "16.1.1",
4
+ "release_timestamp": 1662985000,
5
+ "build": "202209.1201",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "text_domain": "wp-simple-firewall",
93
  "register": {
94
  "css": {
95
  "bootstrap": {
96
+ "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.1/css/bootstrap.min.css"
 
 
 
 
 
 
97
  },
98
  "select2": {
99
  "url": "https://cdnjs.cloudflare.com/ajax/libs/select2/4.1.0-rc.0/css/select2.min.css",
101
  "plugin"
102
  ]
103
  },
104
+ "datatables": {
105
+ "url": "https://cdn.datatables.net/v/bs5/dt-1.12.1/b-2.2.3/sp-2.0.2/sl-1.4.0/datatables.min.css",
106
  "deps": [
107
  "bootstrap"
108
  ]
109
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  "jquery/smartwizard": {
111
  "url": "https://cdn.jsdelivr.net/npm/smartwizard@6/dist/css/smart_wizard_all.min.css"
112
  },
155
  },
156
  "shield/datatables": {
157
  "deps": [
158
+ "datatables",
 
 
 
159
  "tp/highlightjs"
160
  ]
161
  },
168
  },
169
  "js": {
170
  "bootstrap": {
171
+ "url": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.2.1/js/bootstrap.bundle.min.js",
172
  "deps": [
173
  "wp-jquery"
174
  ]
184
  "plugin"
185
  ]
186
  },
 
 
 
 
 
 
187
  "datatables": {
188
+ "url": "https://cdn.datatables.net/v/bs5/dt-1.12.1/b-2.2.3/sp-2.0.2/sl-1.4.0/datatables.min.js",
189
  "deps": [
190
  "bootstrap",
191
  "wp-jquery"
192
  ]
193
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  "global-plugin": {
195
  "deps": [
196
  "wp-jquery"
199
  "plugin": {
200
  "deps": [
201
  "bootstrap",
202
+ "datatables",
203
  "global-plugin",
204
  "shield/navigation",
205
  "shield/ipanalyse",
294
  },
295
  "shield/datatables/common": {
296
  "deps": [
297
+ "datatables",
 
 
 
298
  "tp/highlightjs"
299
  ]
300
  },
readme.txt CHANGED
@@ -8,7 +8,7 @@ Requires at least: 4.7
8
  Requires PHP: 7.0
9
  Recommended PHP: 7.4
10
  Tested up to: 6.0
11
- Stable tag: 16.1.0
12
 
13
  Bad Bots Are Your #1 Security Risk. Stop playing whack-a-mole with malware and vulnerabilities. Discover the advantage of putting real security before marketing.
14
 
8
  Requires PHP: 7.0
9
  Recommended PHP: 7.4
10
  Tested up to: 6.0
11
+ Stable tag: 16.1.1
12
 
13
  Bad Bots Are Your #1 Security Risk. Stop playing whack-a-mole with malware and vulnerabilities. Discover the advantage of putting real security before marketing.
14
 
resources/css/plugin.css CHANGED
@@ -937,10 +937,6 @@ body.folded #FooterBannerGoPro {
937
  }
938
  #ScanResultsTabs table td.file {
939
  }
940
- button.btn.action {
941
- padding: 3px 6px;
942
- line-height: 16px;
943
- }
944
 
945
  #ShieldModalContainer pre.icwp-code-render {
946
  counter-reset: line;
937
  }
938
  #ScanResultsTabs table td.file {
939
  }
 
 
 
 
940
 
941
  #ShieldModalContainer pre.icwp-code-render {
942
  counter-reset: line;
resources/css/shield/datatables.css CHANGED
@@ -47,8 +47,15 @@ td.severity .severity-icon > svg {
47
  .shield-section-datatable .dtsp-title {
48
  font-weight: bolder;
49
  }
50
- .shield-section-datatable div.dtsp-topRow.dtsp-bordered {
51
- border: 1px solid black;
 
 
 
 
 
 
 
52
  }
53
 
54
  td.page code {
47
  .shield-section-datatable .dtsp-title {
48
  font-weight: bolder;
49
  }
50
+ .shield-section-datatable div.dtsp-topRow.dtsp-bordered:hover {
51
+ }
52
+ .shield-section-datatable table.dataTable.table-striped>tbody>tr.selected>* {
53
+ background-color: #bad3ba;
54
+ box-shadow: none;
55
+ color: inherit;
56
+ }
57
+ .shield-section-datatable table.dataTable.table-striped>tbody>tr.odd.selected>* {
58
+ background-color: #9db69d;
59
  }
60
 
61
  td.page code {
src/lib/src/Modules/Insights/Lib/Merlin/Steps/FreeTrial.php CHANGED
@@ -24,4 +24,8 @@ class FreeTrial extends Base {
24
  ],
25
  ];
26
  }
 
 
 
 
27
  }
24
  ],
25
  ];
26
  }
27
+
28
+ public function skipStep() :bool {
29
+ return $this->getCon()->isPremiumActive();
30
+ }
31
  }
src/lib/src/Modules/Insights/Lib/MeterAnalysis/Components.php CHANGED
@@ -93,7 +93,6 @@ class Components {
93
  'field_truncation',
94
  'php_code',
95
  'exe_file_uploads',
96
- 'leading_schema',
97
  'aggressive'
98
  ] as $firewallBlockKey
99
  ) {
93
  'field_truncation',
94
  'php_code',
95
  'exe_file_uploads',
 
96
  'aggressive'
97
  ] as $firewallBlockKey
98
  ) {
src/lib/src/Modules/Insights/Lib/MeterAnalysis/MeterFirewall.php CHANGED
@@ -41,7 +41,6 @@ class MeterFirewall extends MeterBase {
41
  'field_truncation',
42
  'php_code',
43
  'exe_file_uploads',
44
- 'leading_schema',
45
  'aggressive'
46
  ]
47
  );
41
  'field_truncation',
42
  'php_code',
43
  'exe_file_uploads',
 
44
  'aggressive'
45
  ]
46
  );