Version Description
Current Release = Released: 21st February, 2018 - Release Notes
(v.3) FIXED: Bug with automatic updates delay processing
Download this release
Release Info
Developer | paultgoodchild |
Plugin | Shield Security for WordPress |
Version | 6.3.3 |
Comparing to | |
See all releases |
Code changes from version 6.3.2 to 6.3.3
- icwp-wpsf.php +1 -1
- plugin-spec.php +2 -2
- readme.txt +5 -4
- src/common/icwp-wpfunctions-themes.php +12 -2
- src/processors/autoupdates.php +4 -4
icwp-wpsf.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Shield Security
|
4 |
* Plugin URI: http://icwp.io/2f
|
5 |
* Description: Powerful, Easy-To-Use #1 Rated WordPress Security System
|
6 |
-
* Version: 6.3.
|
7 |
* Text Domain: wp-simple-firewall
|
8 |
* Domain Path: /languages/
|
9 |
* Author: iControlWP
|
3 |
* Plugin Name: Shield Security
|
4 |
* Plugin URI: http://icwp.io/2f
|
5 |
* Description: Powerful, Easy-To-Use #1 Rated WordPress Security System
|
6 |
+
* Version: 6.3.3
|
7 |
* Text Domain: wp-simple-firewall
|
8 |
* Domain Path: /languages/
|
9 |
* Author: iControlWP
|
plugin-spec.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"properties": {
|
3 |
-
"version": "6.3.
|
4 |
-
"release_timestamp":
|
5 |
"slug_parent": "icwp",
|
6 |
"slug_plugin": "wpsf",
|
7 |
"human_name": "Shield",
|
1 |
{
|
2 |
"properties": {
|
3 |
+
"version": "6.3.3",
|
4 |
+
"release_timestamp": 1519214400,
|
5 |
"slug_parent": "icwp",
|
6 |
"slug_plugin": "wpsf",
|
7 |
"human_name": "Shield",
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
6 |
Tags: security, all in one, protect, spam, scan, recaptcha, two-factor authentication, login, 2FA, ithemes, wordfence, better wp security, all-in-one, lockdown, hack
|
7 |
Requires at least: 3.5.0
|
8 |
Tested up to: 4.9
|
9 |
-
Stable tag: 6.3.
|
10 |
|
11 |
Free All-In-One Protection for your WordPress sites, data, reputation, and users. Shield: the Highest-Rated Security Plugin for WordPress
|
12 |
|
@@ -357,14 +357,15 @@ Technical support, and some newer options and features will not be available to
|
|
357 |
|
358 |
You can [go Pro for just $1/month](http://icwp.io/aa). Technical support is available to premium clients only.
|
359 |
|
360 |
-
= 6.3.
|
361 |
-
*Released:
|
362 |
|
363 |
-
* **(v.
|
364 |
|
365 |
= 6.3 Series =
|
366 |
*Released: 12th February, 2018* - [Release Notes](http://icwp.io/bc)
|
367 |
|
|
|
368 |
* **(v.2)** CHANGED: Changed a text that seems to cause servers to swallow-up emails. [See here for more reliable email](http://icwp.io/bi)
|
369 |
* **(v.1)** FIXED: Options page javascript to work around conflicts.
|
370 |
* **(v.0)** ADDED: [**PRO**] [Automatic updates stability delay](http://icwp.io/bc)
|
6 |
Tags: security, all in one, protect, spam, scan, recaptcha, two-factor authentication, login, 2FA, ithemes, wordfence, better wp security, all-in-one, lockdown, hack
|
7 |
Requires at least: 3.5.0
|
8 |
Tested up to: 4.9
|
9 |
+
Stable tag: 6.3.3
|
10 |
|
11 |
Free All-In-One Protection for your WordPress sites, data, reputation, and users. Shield: the Highest-Rated Security Plugin for WordPress
|
12 |
|
357 |
|
358 |
You can [go Pro for just $1/month](http://icwp.io/aa). Technical support is available to premium clients only.
|
359 |
|
360 |
+
= 6.3.3 - Current Release =
|
361 |
+
*Released: 21st February, 2018* - [Release Notes](http://icwp.io/bc)
|
362 |
|
363 |
+
* **(v.3)** FIXED: Bug with automatic updates delay processing
|
364 |
|
365 |
= 6.3 Series =
|
366 |
*Released: 12th February, 2018* - [Release Notes](http://icwp.io/bc)
|
367 |
|
368 |
+
* **(v.3)** FIXED: Bug with automatic updates delay setting
|
369 |
* **(v.2)** CHANGED: Changed a text that seems to cause servers to swallow-up emails. [See here for more reliable email](http://icwp.io/bi)
|
370 |
* **(v.1)** FIXED: Options page javascript to work around conflicts.
|
371 |
* **(v.0)** ADDED: [**PRO**] [Automatic updates stability delay](http://icwp.io/bc)
|
src/common/icwp-wpfunctions-themes.php
CHANGED
@@ -168,16 +168,26 @@ class ICWP_WPSF_WpFunctions_Themes extends ICWP_WPSF_Foundation {
|
|
168 |
return function_exists( 'wp_get_themes' ) ? wp_get_themes() : get_themes();
|
169 |
}
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
/**
|
172 |
* @param bool $bForceUpdateCheck
|
173 |
-
* @return
|
174 |
*/
|
175 |
public function getUpdates( $bForceUpdateCheck = false ) {
|
176 |
if ( $bForceUpdateCheck ) {
|
177 |
$this->clearUpdates();
|
178 |
$this->checkForUpdates();
|
179 |
}
|
180 |
-
|
|
|
181 |
}
|
182 |
|
183 |
/**
|
168 |
return function_exists( 'wp_get_themes' ) ? wp_get_themes() : get_themes();
|
169 |
}
|
170 |
|
171 |
+
/**
|
172 |
+
* @param string $sSlug
|
173 |
+
* @return array|null
|
174 |
+
*/
|
175 |
+
public function getUpdateInfo( $sSlug ) {
|
176 |
+
$aU = $this->getUpdates();
|
177 |
+
return isset( $aU[ $sSlug ] ) ? $aU[ $sSlug ] : null;
|
178 |
+
}
|
179 |
+
|
180 |
/**
|
181 |
* @param bool $bForceUpdateCheck
|
182 |
+
* @return array
|
183 |
*/
|
184 |
public function getUpdates( $bForceUpdateCheck = false ) {
|
185 |
if ( $bForceUpdateCheck ) {
|
186 |
$this->clearUpdates();
|
187 |
$this->checkForUpdates();
|
188 |
}
|
189 |
+
$aUpdates = $this->loadWp()->getWordpressUpdates( 'themes' );
|
190 |
+
return is_array( $aUpdates ) ? $aUpdates : array();
|
191 |
}
|
192 |
|
193 |
/**
|
src/processors/autoupdates.php
CHANGED
@@ -311,12 +311,12 @@ class ICWP_WPSF_Processor_Autoupdates extends ICWP_WPSF_Processor_BaseWpsf {
|
|
311 |
$aItemTk = isset( $aTk[ $sContext ][ $sSlug ] ) ? $aTk[ $sContext ][ $sSlug ] : array();
|
312 |
|
313 |
if ( $sContext == 'plugins' ) {
|
314 |
-
$
|
315 |
-
$sVersion = $
|
316 |
}
|
317 |
else if ( $sContext == 'themes' ) {
|
318 |
-
$
|
319 |
-
$sVersion =
|
320 |
}
|
321 |
|
322 |
if ( !empty( $sVersion ) && isset( $aItemTk[ $sVersion ] ) ) {
|
311 |
$aItemTk = isset( $aTk[ $sContext ][ $sSlug ] ) ? $aTk[ $sContext ][ $sSlug ] : array();
|
312 |
|
313 |
if ( $sContext == 'plugins' ) {
|
314 |
+
$oPlugin = $this->loadWpPlugins()->getUpdateInfo( $sSlug );
|
315 |
+
$sVersion = isset( $oPlugin->new_version ) ? $oPlugin->new_version : '';
|
316 |
}
|
317 |
else if ( $sContext == 'themes' ) {
|
318 |
+
$aThemeInfo = $this->loadWpThemes()->getUpdateInfo( $sSlug );
|
319 |
+
$sVersion = isset( $aThemeInfo[ 'new_version' ] ) ? $aThemeInfo[ 'new_version' ] : '';
|
320 |
}
|
321 |
|
322 |
if ( !empty( $sVersion ) && isset( $aItemTk[ $sVersion ] ) ) {
|