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

Version Description

  • Fixed "Path cannot be empty" error
Download this release

Release Info

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

Code changes from version 1.8.30 to 1.8.31

Files changed (4) hide show
  1. lang/sucuri-scanner.pot +3 -3
  2. readme.txt +5 -3
  3. src/cache.lib.php +3 -0
  4. sucuri.php +3 -3
lang/sucuri-scanner.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2021 Sucuri Inc.
2
  # This file is distributed under the same license as the Sucuri Security - Auditing, Malware Scanner and Hardening plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Sucuri Security - Auditing, Malware Scanner and Hardening 1.8.28\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sucuri-wordpress-plugin\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2021-08-12T19:45:12+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: sucuri-scanner\n"
1
+ # Copyright (C) 2022 Sucuri Inc.
2
  # This file is distributed under the same license as the Sucuri Security - Auditing, Malware Scanner and Hardening plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Sucuri Security - Auditing, Malware Scanner and Hardening 1.8.31\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sucuri-wordpress-plugin\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-06-08T17:04:41+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: sucuri-scanner\n"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wordpress@sucuri.net
3
  Donate Link: https://sucuri.net/
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection, blocklist, detection, hardening, file integrity
5
  Requires at least: 3.6
6
- Tested up to: 5.9
7
- Stable tag: 1.8.30
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
10
 
@@ -195,9 +195,11 @@ This version adds an option to refresh the malware scan results on demand, as we
195
  Daniel is no longer maintaining the Sucuri plugin at GoDaddy. We have transferred it to a dedicated team to maintain and improve it.
196
 
197
  == Changelog ==
 
 
 
198
  = 1.8.30 =
199
  * Bump version
200
- * Daniel is no longer maintaining the Sucuri plugin at GoDaddy. We have transferred it to a dedicated team to maintain and improve it.
201
 
202
  = 1.8.29 =
203
  * Changed ownership
3
  Donate Link: https://sucuri.net/
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection, blocklist, detection, hardening, file integrity
5
  Requires at least: 3.6
6
+ Tested up to: 6.0
7
+ Stable tag: 1.8.31
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
10
 
195
  Daniel is no longer maintaining the Sucuri plugin at GoDaddy. We have transferred it to a dedicated team to maintain and improve it.
196
 
197
  == Changelog ==
198
+ = 1.8.31 =
199
+ * Fixed "Path cannot be empty" error
200
+
201
  = 1.8.30 =
202
  * Bump version
 
203
 
204
  = 1.8.29 =
205
  * Changed ownership
src/cache.lib.php CHANGED
@@ -402,6 +402,9 @@ class SucuriScanCache extends SucuriScan
402
  }
403
 
404
  $finfo = $this->getDatastoreInfo();
 
 
 
405
  $line = sprintf("%s:%s\n", $key, json_encode($data));
406
 
407
  return (bool) @file_put_contents($finfo['fpath'], $line, FILE_APPEND);
402
  }
403
 
404
  $finfo = $this->getDatastoreInfo();
405
+ if (empty($finfo['fpath'])) {
406
+ return false;
407
+ }
408
  $line = sprintf("%s:%s\n", $key, json_encode($data));
409
 
410
  return (bool) @file_put_contents($finfo['fpath'], $line, FILE_APPEND);
sucuri.php CHANGED
@@ -8,9 +8,9 @@
8
  * Author: Sucuri Inc.
9
  * Text Domain: sucuri-scanner
10
  * Domain Path: /lang
11
- * Version: 1.8.30
12
  *
13
- * PHP version 5
14
  *
15
  * @category Library
16
  * @package Sucuri
@@ -85,7 +85,7 @@ define('SUCURISCAN', 'sucuriscan');
85
  /**
86
  * Current version of the plugin's code.
87
  */
88
- define('SUCURISCAN_VERSION', '1.8.30');
89
 
90
  /**
91
  * Defines the human readable name of the plugin.
8
  * Author: Sucuri Inc.
9
  * Text Domain: sucuri-scanner
10
  * Domain Path: /lang
11
+ * Version: 1.8.31
12
  *
13
+ * PHP version 7
14
  *
15
  * @category Library
16
  * @package Sucuri
85
  /**
86
  * Current version of the plugin's code.
87
  */
88
+ define('SUCURISCAN_VERSION', '1.8.31');
89
 
90
  /**
91
  * Defines the human readable name of the plugin.