Shield Security for WordPress - Version 8.1.1

Version Description

  • Current Release = Released: 18th September, 2019 - Release Notes

  • (v.1) FIXED: Error for sites pre-5.0 that don't have function determine_locale()

  • (v.0) IMPROVED: Massive improvements to asynchronous scans in performance and reliability.

  • (v.0) ADDED: [PRO] Possible to supply multiple email addresses for Administrator login notifications.

  • (v.0) ADDED: New firewall whitelist rule to prevent firewall blocks when activating certain plugins.

  • (v.0) IMPROVED: Prevent errors caused by other plugins not passing correctly-formatted data through WP filters.

  • (v.0) ADDED: Japanese translations (14%).

  • (v.0) IMPROVED: Plugin locale now respects user profile locale setting.

  • (v.0) IMPROVED: Audit Trail filter for specific events.

  • (v.0) IMPROVED: Lots of cleanup of deprecated PHP code following the the v7-v8 upgrade.

Download this release

Release Info

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

Code changes from version 8.1.0 to 8.1.1

icwp-wpsf.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Shield Security
4
  * Plugin URI: https://icwp.io/2f
5
  * Description: Powerful, Easy-To-Use #1 Rated WordPress Security System
6
- * Version: 8.1.0
7
  * Text Domain: wp-simple-firewall
8
  * Domain Path: /languages
9
  * Author: One Dollar Plugin
3
  * Plugin Name: Shield Security
4
  * Plugin URI: https://icwp.io/2f
5
  * Description: Powerful, Easy-To-Use #1 Rated WordPress Security System
6
+ * Version: 8.1.1
7
  * Text Domain: wp-simple-firewall
8
  * Domain Path: /languages
9
  * Author: One Dollar Plugin
plugin-spec.php CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "properties": {
3
- "version": "8.1.0",
4
- "release_timestamp": 1568804000,
5
- "build": "201909.1801",
6
  "slug_parent": "icwp",
7
  "slug_plugin": "wpsf",
8
  "human_name": "Shield",
1
  {
2
  "properties": {
3
+ "version": "8.1.1",
4
+ "release_timestamp": 1568814556,
5
+ "build": "201909.1802",
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: 5.4.0
9
  Recommended PHP: 7.0
10
  Tested up to: 5.2
11
- Stable tag: 8.1.0
12
 
13
  Security protection from hackers through smarter automation. Powerful scanners, 2-Factor Auth, limit logins, auto IP blocks & more.
14
 
@@ -370,9 +370,10 @@ You will always be able to use Shield Security and its free features in-full.
370
 
371
  [Go Pro for just $1/month](https://icwp.io/aa).
372
 
373
- = 8.1.0 - Current Release =
374
  *Released: 18th September, 2019* - [Release Notes](https://icwp.io/fy)
375
 
 
376
  * **(v.0)** IMPROVED: Massive improvements to asynchronous scans in performance and reliability.
377
  * **(v.0)** ADDED: [**PRO**] Possible to supply multiple email addresses for Administrator login notifications.
378
  * **(v.0)** ADDED: New firewall whitelist rule to prevent firewall blocks when activating certain plugins.
8
  Requires PHP: 5.4.0
9
  Recommended PHP: 7.0
10
  Tested up to: 5.2
11
+ Stable tag: 8.1.1
12
 
13
  Security protection from hackers through smarter automation. Powerful scanners, 2-Factor Auth, limit logins, auto IP blocks & more.
14
 
370
 
371
  [Go Pro for just $1/month](https://icwp.io/aa).
372
 
373
+ = 8.1.1 - Current Release =
374
  *Released: 18th September, 2019* - [Release Notes](https://icwp.io/fy)
375
 
376
+ * **(v.1)** FIXED: Error for sites pre-5.0 that don't have function `determine_locale()`
377
  * **(v.0)** IMPROVED: Massive improvements to asynchronous scans in performance and reliability.
378
  * **(v.0)** ADDED: [**PRO**] Possible to supply multiple email addresses for Administrator login notifications.
379
  * **(v.0)** ADDED: New firewall whitelist rule to prevent firewall blocks when activating certain plugins.
src/lib/src/Controller/Controller.php CHANGED
@@ -1935,7 +1935,10 @@ class Controller extends Shield\Deprecated\Foundation {
1935
  if ( $sDomain == $this->getTextDomain() ) {
1936
 
1937
  // use determine_locale() as it also considers the user's profile preference
1938
- $sLocale = apply_filters( 'shield_force_locale', determine_locale() );
 
 
 
1939
 
1940
  /**
1941
  * Cater for duplicate language translations that don't exist (yet)
@@ -2049,7 +2052,7 @@ class Controller extends Shield\Deprecated\Foundation {
2049
  /** @var Shield\Modules\AuditTrail\Options $oOpts */
2050
  $oOpts = $this->getModule_AuditTrail()
2051
  ->getOptions();
2052
-
2053
  $sContent = $this->getRenderer()
2054
  ->setTemplate( 'snippets/privacy_policy' )
2055
  ->setTemplateEngineTwig()
1935
  if ( $sDomain == $this->getTextDomain() ) {
1936
 
1937
  // use determine_locale() as it also considers the user's profile preference
1938
+ $sLocale = apply_filters(
1939
+ 'shield_force_locale',
1940
+ function_exists( 'determine_locale' ) ? determine_locale() : Services::WpGeneral()->getLocale()
1941
+ );
1942
 
1943
  /**
1944
  * Cater for duplicate language translations that don't exist (yet)
2052
  /** @var Shield\Modules\AuditTrail\Options $oOpts */
2053
  $oOpts = $this->getModule_AuditTrail()
2054
  ->getOptions();
2055
+
2056
  $sContent = $this->getRenderer()
2057
  ->setTemplate( 'snippets/privacy_policy' )
2058
  ->setTemplateEngineTwig()