Version Description
Download this release
Release Info
Developer | paultgoodchild |
Plugin | Shield Security for WordPress |
Version | 10.0.1 |
Comparing to | |
See all releases |
Code changes from version 10.0.0 to 10.0.1
- cl.json +8 -0
- icwp-wpsf.php +1 -1
- plugin-spec.php +3 -3
- readme.txt +1 -1
- src/lib/src/Databases/Base/Handler.php +3 -1
cl.json
CHANGED
@@ -108,6 +108,14 @@
|
|
108 |
"description": [
|
109 |
"A PHP error has been fixed which would occur in some cases."
|
110 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
}
|
112 |
]
|
113 |
},
|
108 |
"description": [
|
109 |
"A PHP error has been fixed which would occur in some cases."
|
110 |
]
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"type": "fixed",
|
114 |
+
"title": "Database creation may delete existing tables",
|
115 |
+
"description": [
|
116 |
+
"In some cases during plugin upgrade, some table may get inadvertently deleted."
|
117 |
+
],
|
118 |
+
"patch": "10.0.1"
|
119 |
}
|
120 |
]
|
121 |
},
|
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.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: 10.0.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": "10.0.
|
4 |
-
"release_timestamp":
|
5 |
-
"build": "202010.
|
6 |
"slug_parent": "icwp",
|
7 |
"slug_plugin": "wpsf",
|
8 |
"human_name": "Shield",
|
1 |
{
|
2 |
"properties": {
|
3 |
+
"version": "10.0.1",
|
4 |
+
"release_timestamp": 1603284400,
|
5 |
+
"build": "202010.2102",
|
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.0.
|
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.0.1
|
12 |
|
13 |
The highest rated WordPress Security plugin, delivering unparalleled, all-in-one protection for you and your customers.
|
14 |
|
src/lib/src/Databases/Base/Handler.php
CHANGED
@@ -125,7 +125,9 @@ abstract class Handler {
|
|
125 |
protected function tableCreate() {
|
126 |
$DB = Services::WpDb();
|
127 |
$sch = $this->getTableSchema();
|
128 |
-
|
|
|
|
|
129 |
return $this;
|
130 |
}
|
131 |
|
125 |
protected function tableCreate() {
|
126 |
$DB = Services::WpDb();
|
127 |
$sch = $this->getTableSchema();
|
128 |
+
if ( !$DB->getIfTableExists( $sch->table ) ) {
|
129 |
+
$DB->doSql( $sch->buildCreate() );
|
130 |
+
}
|
131 |
return $this;
|
132 |
}
|
133 |
|