Sucuri Security – Auditing, Malware Scanner and Security Hardening - Version 1.8.6

Version Description

This version adds support for the latest version of WordPress. Introduces new features and fixes some bugs reported by the WordPress community as well as bugs found by our automated testing system.

=

Download this release

Release Info

Developer yorman
Plugin Icon 128x128 Sucuri Security – Auditing, Malware Scanner and Security Hardening
Version 1.8.6
Comparing to
See all releases

Code changes from version 1.8.5 to 1.8.6

Files changed (3) hide show
  1. readme.txt +5 -2
  2. src/globals.php +14 -0
  3. sucuri.php +2 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: dd@sucuri.net
3
  Donate Link: https://sucuri.net/
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection, WordPress Security, Login Security, Security Auditing, File Integrity, htaccess, phishing, backdoors, SQL Injection, RFI, LFI, XSS, CSRF, website firewall, Website Security, Performance Optimization, Zero Day, Software Vulnerability, Exploits, Hacks, Attackers, Bad Actors, Reverse Proxy, Two Factor Security, Two Factor Authentication, Security Logs, HeatBleed Vulnerability, Website Protection, Bash Vulnerability, RevSlider Vulnerability, MailPoet Vulnerability, Malware Prevention, Website Security, Website Firewall, Website AntiVirus, Security Response, Security Detection, Security Prevention
5
  Requires at least: 3.6
6
- Stable tag: 1.8.5
7
  Tested up to: 4.8.0
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
@@ -216,11 +216,14 @@ No, it is not required. The Website Firewall runs in the cloud without the need
216
 
217
  == Upgrade Notice ==
218
 
219
- = 1.8.5 =
220
  This version adds support for the latest version of WordPress. Introduces new features and fixes some bugs reported by the WordPress community as well as bugs found by our automated testing system.
221
 
222
  == Changelog ==
223
 
 
 
 
224
  = 1.8.5 =
225
  * Fix minor bugs after post-testing of the new release
226
  * Add full support for internationalization with en_US locale
3
  Donate Link: https://sucuri.net/
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection, WordPress Security, Login Security, Security Auditing, File Integrity, htaccess, phishing, backdoors, SQL Injection, RFI, LFI, XSS, CSRF, website firewall, Website Security, Performance Optimization, Zero Day, Software Vulnerability, Exploits, Hacks, Attackers, Bad Actors, Reverse Proxy, Two Factor Security, Two Factor Authentication, Security Logs, HeatBleed Vulnerability, Website Protection, Bash Vulnerability, RevSlider Vulnerability, MailPoet Vulnerability, Malware Prevention, Website Security, Website Firewall, Website AntiVirus, Security Response, Security Detection, Security Prevention
5
  Requires at least: 3.6
6
+ Stable tag: 1.8.6
7
  Tested up to: 4.8.0
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
216
 
217
  == Upgrade Notice ==
218
 
219
+ = 1.8.6 =
220
  This version adds support for the latest version of WordPress. Introduces new features and fixes some bugs reported by the WordPress community as well as bugs found by our automated testing system.
221
 
222
  == Changelog ==
223
 
224
+ = 1.8.6 =
225
+ * Add default language for internationalization fallback
226
+
227
  = 1.8.5 =
228
  * Fix minor bugs after post-testing of the new release
229
  * Add full support for internationalization with en_US locale
src/globals.php CHANGED
@@ -109,6 +109,20 @@ if (defined('SUCURISCAN')) {
109
  */
110
  function sucuriscan_load_plugin_textdomain()
111
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  load_plugin_textdomain(
113
  SUCURISCAN_TEXTDOMAIN,
114
  false, /* deprecated */
109
  */
110
  function sucuriscan_load_plugin_textdomain()
111
  {
112
+ global $locale;
113
+
114
+ $filename = sprintf(
115
+ '%s/languages/%s-%s.po',
116
+ SUCURISCAN_PLUGIN_PATH,
117
+ SUCURISCAN_TEXTDOMAIN,
118
+ $locale
119
+ );
120
+
121
+ if (!file_exists($filename)) {
122
+ $locale = 'en_US';
123
+ setlocale(LC_ALL, 'en_US');
124
+ }
125
+
126
  load_plugin_textdomain(
127
  SUCURISCAN_TEXTDOMAIN,
128
  false, /* deprecated */
sucuri.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author URI: https://sucuri.net/
8
  * Text Domain: sucuri-scanner
9
  * Author: Sucuri Inc.
10
- * Version: 1.8.5
11
  */
12
 
13
 
@@ -83,7 +83,7 @@ define('SUCURISCAN', 'sucuriscan');
83
  /**
84
  * Current version of the plugin's code.
85
  */
86
- define('SUCURISCAN_VERSION', '1.8.5');
87
 
88
  /**
89
  * The name of the Sucuri plugin main file.
7
  * Author URI: https://sucuri.net/
8
  * Text Domain: sucuri-scanner
9
  * Author: Sucuri Inc.
10
+ * Version: 1.8.6
11
  */
12
 
13
 
83
  /**
84
  * Current version of the plugin's code.
85
  */
86
+ define('SUCURISCAN_VERSION', '1.8.6');
87
 
88
  /**
89
  * The name of the Sucuri plugin main file.