Shield Security for WordPress - Version 6.4.1

Version Description

  • Current Release = Released: 26th February, 2018 - Release Notes

  • (v.1) ADDED: [PRO] New Scanner to detect file changes for active plugins and themes

  • (v.1) IMPROVED: Automatic updates for vulnerable plugins ignores automatic updates delay setting

  • (v.1) CHANGED: Email notifications for scanners will now link to the Wizard where possible, instead of listing files.

Download this release

Release Info

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

Code changes from version 6.4.0 to 6.4.1

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.4.0
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.4.1
7
  * Text Domain: wp-simple-firewall
8
  * Domain Path: /languages/
9
  * Author: iControlWP
plugin-spec.php CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "properties": {
3
- "version": "6.4.0",
4
  "release_timestamp": 1519646400,
5
  "slug_parent": "icwp",
6
  "slug_plugin": "wpsf",
1
  {
2
  "properties": {
3
+ "version": "6.4.1",
4
  "release_timestamp": 1519646400,
5
  "slug_parent": "icwp",
6
  "slug_plugin": "wpsf",
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.4.0
10
 
11
  Free All-In-One Protection for your WordPress sites, data, reputation, and users. Shield: the Highest-Rated Security Plugin for WordPress
12
 
@@ -358,12 +358,12 @@ Technical support, and some newer features will not be available to you, however
358
  You can [go Pro for just $1/month](http://icwp.io/aa).
359
  Technical support is available to premium clients only.
360
 
361
- = 6.4.0 - Current Release =
362
  *Released: 26th February, 2018* - [Release Notes](http://icwp.io/br)
363
 
364
- * **(v.0)** ADDED: [**PRO**] New Scanner to [detect file changes for active plugins and themes](http://icwp.io/bq)
365
- * **(v.0)** IMPROVED: Automatic updates for vulnerable plugins ignores [automatic updates delay setting](http://icwp.io/bc)
366
- * **(v.0)** CHANGED: Email notifications for scanners will now link to the Wizard where possible, instead of listing files.
367
 
368
  = 6.4 Series =
369
  *Released: 26th February, 2018* - [Release Notes](http://icwp.io/br)
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.4.1
10
 
11
  Free All-In-One Protection for your WordPress sites, data, reputation, and users. Shield: the Highest-Rated Security Plugin for WordPress
12
 
358
  You can [go Pro for just $1/month](http://icwp.io/aa).
359
  Technical support is available to premium clients only.
360
 
361
+ = 6.4.1 - Current Release =
362
  *Released: 26th February, 2018* - [Release Notes](http://icwp.io/br)
363
 
364
+ * **(v.1)** ADDED: [**PRO**] New Scanner to [detect file changes for active plugins and themes](http://icwp.io/bq)
365
+ * **(v.1)** IMPROVED: Automatic updates for vulnerable plugins ignores [automatic updates delay setting](http://icwp.io/bc)
366
+ * **(v.1)** CHANGED: Email notifications for scanners will now link to the Wizard where possible, instead of listing files.
367
 
368
  = 6.4 Series =
369
  *Released: 26th February, 2018* - [Release Notes](http://icwp.io/br)
src/features/hack_protect.php CHANGED
@@ -10,10 +10,13 @@ class ICWP_WPSF_FeatureHandler_HackProtect extends ICWP_WPSF_FeatureHandler_Base
10
 
11
  protected function doPostConstruction() {
12
  $this->setCustomCronSchedules();
 
13
  }
14
 
15
  public function doPrePluginOptionsSave() {
16
- $this->setOpt( 'ptg_candiskwrite_at', 0 );
 
 
17
  }
18
 
19
  protected function adminAjaxHandlers() {
@@ -335,10 +338,9 @@ class ICWP_WPSF_FeatureHandler_HackProtect extends ICWP_WPSF_FeatureHandler_Base
335
 
336
  if ( $oFS->mkdir( $sDir ) ) {
337
  $sTestFile = path_join( $sDir, 'test.txt' );
338
- $oFS->putFileContent( $sTestFile, $nNow );
339
  $sContents = $oFS->exists( $sTestFile ) ? $oFS->getFileContent( $sTestFile ) : '';
340
-
341
- if ( $sContents === $nNow ) {
342
  $oFS->deleteFile( $sTestFile );
343
  $this->setOpt( 'ptg_candiskwrite', !$oFS->exists( $sTestFile ) );
344
  }
10
 
11
  protected function doPostConstruction() {
12
  $this->setCustomCronSchedules();
13
+ $this->canPtgWriteToDisk();
14
  }
15
 
16
  public function doPrePluginOptionsSave() {
17
+ if ( $this->isModuleOptionsRequest() ) { // Move this IF to base
18
+ $this->setOpt( 'ptg_candiskwrite_at', 0 );
19
+ }
20
  }
21
 
22
  protected function adminAjaxHandlers() {
338
 
339
  if ( $oFS->mkdir( $sDir ) ) {
340
  $sTestFile = path_join( $sDir, 'test.txt' );
341
+ $oFS->putFileContent( $sTestFile, 'test-'.$nNow );
342
  $sContents = $oFS->exists( $sTestFile ) ? $oFS->getFileContent( $sTestFile ) : '';
343
+ if ( $sContents === 'test-'.$nNow ) {
 
344
  $oFS->deleteFile( $sTestFile );
345
  $this->setOpt( 'ptg_candiskwrite', !$oFS->exists( $sTestFile ) );
346
  }