Version Description
(2016-09-14) =
-
Update
- Updated the Italian translation file with the latest translations.
-
Bug Fix
- Fixed a bug related to database collation which was affecting the generation of reports.
Download this release
Release Info
Developer | WPWhiteSecurity |
Plugin | WP Security Audit Log |
Version | 2.5.4 |
Comparing to | |
See all releases |
Code changes from version 2.5.3 to 2.5.4
classes/Adapters/MySQL/ActiveRecordAdapter.php
CHANGED
@@ -345,7 +345,7 @@ class WSAL_Adapters_MySQL_ActiveRecord implements WSAL_Adapters_ActiveRecordInte
|
|
345 |
|
346 |
$sql .= ')';
|
347 |
|
348 |
-
if (!
|
349 |
$sql .= ' DEFAULT CHARACTER SET ' . $_wpdb->charset;
|
350 |
}
|
351 |
|
@@ -369,6 +369,7 @@ class WSAL_Adapters_MySQL_ActiveRecord implements WSAL_Adapters_ActiveRecordInte
|
|
369 |
global $wpdb;
|
370 |
$tableUsers = $wpdb->users;
|
371 |
$_wpdb = $this->connection;
|
|
|
372 |
// tables
|
373 |
$meta = new WSAL_Adapters_MySQL_Meta($this->connection);
|
374 |
$tableMeta = $meta->GetTable(); // metadata
|
345 |
|
346 |
$sql .= ')';
|
347 |
|
348 |
+
if (!empty($_wpdb->charset)) {
|
349 |
$sql .= ' DEFAULT CHARACTER SET ' . $_wpdb->charset;
|
350 |
}
|
351 |
|
369 |
global $wpdb;
|
370 |
$tableUsers = $wpdb->users;
|
371 |
$_wpdb = $this->connection;
|
372 |
+
$_wpdb->set_charset($_wpdb->dbh, 'utf8mb4', 'utf8mb4_general_ci');
|
373 |
// tables
|
374 |
$meta = new WSAL_Adapters_MySQL_Meta($this->connection);
|
375 |
$tableMeta = $meta->GetTable(); // metadata
|
classes/Views/ToggleAlerts.php
CHANGED
@@ -46,8 +46,8 @@ class WSAL_Views_ToggleAlerts extends WSAL_AbstractView
|
|
46 |
} catch (Exception $ex) {
|
47 |
?><div class="error"><p><?php _e('Error: ', 'wp-security-audit-log'); ?><?php echo $ex->getMessage(); ?></p></div><?php
|
48 |
}
|
49 |
-
$this->_plugin->SetGlobalOption('log-404', isset($_REQUEST['log_404']) ?
|
50 |
-
$this->_plugin->SetGlobalOption('purge-404-log', isset($_REQUEST['purge_log']) ?
|
51 |
}
|
52 |
?><h2 id="wsal-tabs" class="nav-tab-wrapper"><?php
|
53 |
foreach ($safeNames as $name => $safe) {
|
@@ -97,16 +97,16 @@ class WSAL_Views_ToggleAlerts extends WSAL_AbstractView
|
|
97 |
<td><?php echo esc_html($alert->desc); ?></td>
|
98 |
</tr><?php
|
99 |
if ($alert->type == 6007) {
|
100 |
-
$log_404 = $this->_plugin->GetGlobalOption('log-404'
|
101 |
-
$purge_log = $this->_plugin->GetGlobalOption('purge-404-log'
|
102 |
?><tr>
|
103 |
<td></td>
|
104 |
-
<td><input name="log_404" type="checkbox" value="1" <?php if ($log_404) echo 'checked="checked"'; ?>></td>
|
105 |
<td colspan="2"><?php _e('Capture 404 requests to file (the log file are created in the /wp-content/uploads/wp-security-audit-log/404s/ directory)', 'wp-security-audit-log'); ?></td>
|
106 |
</tr>
|
107 |
<tr>
|
108 |
<td></td>
|
109 |
-
<td><input name="purge_log" type="checkbox" value="1" <?php if ($purge_log) echo 'checked="checked"'; ?>></td>
|
110 |
<td colspan="2"><?php _e('Purge log files older than one month', 'wp-security-audit-log'); ?></td>
|
111 |
</tr><?php
|
112 |
}
|
46 |
} catch (Exception $ex) {
|
47 |
?><div class="error"><p><?php _e('Error: ', 'wp-security-audit-log'); ?><?php echo $ex->getMessage(); ?></p></div><?php
|
48 |
}
|
49 |
+
$this->_plugin->SetGlobalOption('log-404', isset($_REQUEST['log_404']) ? 'on' : 'off');
|
50 |
+
$this->_plugin->SetGlobalOption('purge-404-log', isset($_REQUEST['purge_log']) ? 'on' : 'off');
|
51 |
}
|
52 |
?><h2 id="wsal-tabs" class="nav-tab-wrapper"><?php
|
53 |
foreach ($safeNames as $name => $safe) {
|
97 |
<td><?php echo esc_html($alert->desc); ?></td>
|
98 |
</tr><?php
|
99 |
if ($alert->type == 6007) {
|
100 |
+
$log_404 = $this->_plugin->GetGlobalOption('log-404');
|
101 |
+
$purge_log = $this->_plugin->GetGlobalOption('purge-404-log');
|
102 |
?><tr>
|
103 |
<td></td>
|
104 |
+
<td><input name="log_404" type="checkbox" value="1" <?php if ($log_404 == 'on') echo 'checked="checked"'; ?>></td>
|
105 |
<td colspan="2"><?php _e('Capture 404 requests to file (the log file are created in the /wp-content/uploads/wp-security-audit-log/404s/ directory)', 'wp-security-audit-log'); ?></td>
|
106 |
</tr>
|
107 |
<tr>
|
108 |
<td></td>
|
109 |
+
<td><input name="purge_log" type="checkbox" value="1" <?php if ($purge_log == 'on') echo 'checked="checked"'; ?>></td>
|
110 |
<td colspan="2"><?php _e('Purge log files older than one month', 'wp-security-audit-log'); ?></td>
|
111 |
</tr><?php
|
112 |
}
|
languages/wp-security-audit-log-it_IT.mo
ADDED
Binary file
|
languages/wp-security-audit-log.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the WP Security Audit Log package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP Security Audit Log 2.5.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-security-audit-"
|
7 |
"log\n"
|
8 |
-
"POT-Creation-Date: 2016-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -1917,7 +1917,7 @@ msgstr ""
|
|
1917 |
#: defaults.php:174
|
1918 |
msgid ""
|
1919 |
"Has requested a non existing page (404 Error Pages) %Attempts% %Msg%. These "
|
1920 |
-
"requests are being logged to a log file in the /
|
1921 |
"log/404s/ directory."
|
1922 |
msgstr ""
|
1923 |
|
@@ -2480,7 +2480,7 @@ msgstr ""
|
|
2480 |
msgid "Custom notice Alert"
|
2481 |
msgstr ""
|
2482 |
|
2483 |
-
#: wp-security-audit-log.php:
|
2484 |
msgid ""
|
2485 |
"You are using a version of PHP that is older than %s, which is no longer "
|
2486 |
"supported.<br/>Contact us on <a href=\"mailto:plugins@wpwhitesecurity.com"
|
@@ -2492,9 +2492,9 @@ msgstr ""
|
|
2492 |
msgid "WP Security Audit Log"
|
2493 |
msgstr ""
|
2494 |
|
2495 |
-
#. #-#-#-#-# plugin.pot (WP Security Audit Log 2.5.
|
2496 |
#. Plugin URI of the plugin/theme
|
2497 |
-
#. #-#-#-#-# plugin.pot (WP Security Audit Log 2.5.
|
2498 |
#. Author URI of the plugin/theme
|
2499 |
msgid "http://www.wpsecurityauditlog.com/"
|
2500 |
msgstr ""
|
2 |
# This file is distributed under the same license as the WP Security Audit Log package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP Security Audit Log 2.5.3\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-security-audit-"
|
7 |
"log\n"
|
8 |
+
"POT-Creation-Date: 2016-09-14 19:44:43+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
1917 |
#: defaults.php:174
|
1918 |
msgid ""
|
1919 |
"Has requested a non existing page (404 Error Pages) %Attempts% %Msg%. These "
|
1920 |
+
"requests are being logged to a log file in the /uploads/wp-security-audit-"
|
1921 |
"log/404s/ directory."
|
1922 |
msgstr ""
|
1923 |
|
2480 |
msgid "Custom notice Alert"
|
2481 |
msgstr ""
|
2482 |
|
2483 |
+
#: wp-security-audit-log.php:261
|
2484 |
msgid ""
|
2485 |
"You are using a version of PHP that is older than %s, which is no longer "
|
2486 |
"supported.<br/>Contact us on <a href=\"mailto:plugins@wpwhitesecurity.com"
|
2492 |
msgid "WP Security Audit Log"
|
2493 |
msgstr ""
|
2494 |
|
2495 |
+
#. #-#-#-#-# plugin.pot (WP Security Audit Log 2.5.3) #-#-#-#-#
|
2496 |
#. Plugin URI of the plugin/theme
|
2497 |
+
#. #-#-#-#-# plugin.pot (WP Security Audit Log 2.5.3) #-#-#-#-#
|
2498 |
#. Author URI of the plugin/theme
|
2499 |
msgid "http://www.wpsecurityauditlog.com/"
|
2500 |
msgstr ""
|
readme.txt
CHANGED
@@ -6,8 +6,8 @@ License: GPLv3
|
|
6 |
License URI: http://www.gnu.org/licenses/gpl.html
|
7 |
Tags: wordpress security plugin, wordpress security audit log, audit log, wordpress log, event log wordpress, wordpress user tracking, wordpress activity log, wordpress audit, security event log, audit trail, security audit trail, wordpress security alerts, wordpress monitor, wordpress security monitor, wordpress admin, wordpress admin monitoring, analytics, activity, admin, multisite, wordpress multisite, actions, dashboard, log, notification, wordpress monitoring, email notification, wordpress email alerts, tracking, user tracking, user activity report, wordpress audit trail
|
8 |
Requires at least: 3.6
|
9 |
-
Tested up to: 4.6
|
10 |
-
Stable tag: 2.5.
|
11 |
|
12 |
Keep an audit trail of all changes and under the hood WordPress activity to ensure productivity and thwart possible WordPress hacker attacks.
|
13 |
|
@@ -176,6 +176,14 @@ Please refer to the [FAQs page](https://www.wpsecurityauditlog.com/documentation
|
|
176 |
|
177 |
== Changelog ==
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
= 2.5.3 (2016-08-16) =
|
180 |
|
181 |
* **Bug Fix**
|
6 |
License URI: http://www.gnu.org/licenses/gpl.html
|
7 |
Tags: wordpress security plugin, wordpress security audit log, audit log, wordpress log, event log wordpress, wordpress user tracking, wordpress activity log, wordpress audit, security event log, audit trail, security audit trail, wordpress security alerts, wordpress monitor, wordpress security monitor, wordpress admin, wordpress admin monitoring, analytics, activity, admin, multisite, wordpress multisite, actions, dashboard, log, notification, wordpress monitoring, email notification, wordpress email alerts, tracking, user tracking, user activity report, wordpress audit trail
|
8 |
Requires at least: 3.6
|
9 |
+
Tested up to: 4.6.1
|
10 |
+
Stable tag: 2.5.4
|
11 |
|
12 |
Keep an audit trail of all changes and under the hood WordPress activity to ensure productivity and thwart possible WordPress hacker attacks.
|
13 |
|
176 |
|
177 |
== Changelog ==
|
178 |
|
179 |
+
= 2.5.4 (2016-09-14) =
|
180 |
+
|
181 |
+
* **Update**
|
182 |
+
* Updated the Italian translation file with the latest translations.
|
183 |
+
|
184 |
+
* **Bug Fix**
|
185 |
+
* Fixed a bug related to database collation which was affecting the generation of reports.
|
186 |
+
|
187 |
= 2.5.3 (2016-08-16) =
|
188 |
|
189 |
* **Bug Fix**
|
wp-security-audit-log.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Security Audit Log
|
|
4 |
Plugin URI: http://www.wpsecurityauditlog.com/
|
5 |
Description: Identify WordPress security issues before they become a problem. Keep track of everything happening on your WordPress including WordPress users activity. Similar to Windows Event Log and Linux Syslog, WP Security Audit Log generates a security alert for everything that happens on your WordPress blogs and websites. Use the Audit Log Viewer included in the plugin to see all the security alerts.
|
6 |
Author: WP White Security
|
7 |
-
Version: 2.5.
|
8 |
Text Domain: wp-security-audit-log
|
9 |
Author URI: http://www.wpsecurityauditlog.com/
|
10 |
License: GPL2
|
@@ -223,13 +223,13 @@ class WpSecurityAuditLog {
|
|
223 |
$log_404 = $this->GetGlobalOption('log-404');
|
224 |
// If old setting is empty enable 404 logging by default
|
225 |
if ($log_404 === false) {
|
226 |
-
$this->SetGlobalOption('log-404',
|
227 |
}
|
228 |
|
229 |
$purge_log_404 = $this->GetGlobalOption('purge-404-log');
|
230 |
// If old setting is empty enable 404 purge log by default
|
231 |
if ($purge_log_404 === false) {
|
232 |
-
$this->SetGlobalOption('purge-404-log',
|
233 |
}
|
234 |
// load translations
|
235 |
load_plugin_textdomain('wp-security-audit-log', false, basename(dirname(__FILE__)) . '/languages/');
|
@@ -304,13 +304,13 @@ class WpSecurityAuditLog {
|
|
304 |
$log_404 = $this->GetGlobalOption('log-404');
|
305 |
// If old setting is empty enable 404 logging by default
|
306 |
if ($log_404 === false) {
|
307 |
-
$this->SetGlobalOption('log-404',
|
308 |
}
|
309 |
|
310 |
$purge_log_404 = $this->GetGlobalOption('purge-404-log');
|
311 |
// If old setting is empty enable 404 purge log by default
|
312 |
if ($purge_log_404 === false) {
|
313 |
-
$this->SetGlobalOption('purge-404-log',
|
314 |
}
|
315 |
|
316 |
// install cleanup hook (remove older one if it exists)
|
4 |
Plugin URI: http://www.wpsecurityauditlog.com/
|
5 |
Description: Identify WordPress security issues before they become a problem. Keep track of everything happening on your WordPress including WordPress users activity. Similar to Windows Event Log and Linux Syslog, WP Security Audit Log generates a security alert for everything that happens on your WordPress blogs and websites. Use the Audit Log Viewer included in the plugin to see all the security alerts.
|
6 |
Author: WP White Security
|
7 |
+
Version: 2.5.4
|
8 |
Text Domain: wp-security-audit-log
|
9 |
Author URI: http://www.wpsecurityauditlog.com/
|
10 |
License: GPL2
|
223 |
$log_404 = $this->GetGlobalOption('log-404');
|
224 |
// If old setting is empty enable 404 logging by default
|
225 |
if ($log_404 === false) {
|
226 |
+
$this->SetGlobalOption('log-404', 'on');
|
227 |
}
|
228 |
|
229 |
$purge_log_404 = $this->GetGlobalOption('purge-404-log');
|
230 |
// If old setting is empty enable 404 purge log by default
|
231 |
if ($purge_log_404 === false) {
|
232 |
+
$this->SetGlobalOption('purge-404-log', 'on');
|
233 |
}
|
234 |
// load translations
|
235 |
load_plugin_textdomain('wp-security-audit-log', false, basename(dirname(__FILE__)) . '/languages/');
|
304 |
$log_404 = $this->GetGlobalOption('log-404');
|
305 |
// If old setting is empty enable 404 logging by default
|
306 |
if ($log_404 === false) {
|
307 |
+
$this->SetGlobalOption('log-404', 'on');
|
308 |
}
|
309 |
|
310 |
$purge_log_404 = $this->GetGlobalOption('purge-404-log');
|
311 |
// If old setting is empty enable 404 purge log by default
|
312 |
if ($purge_log_404 === false) {
|
313 |
+
$this->SetGlobalOption('purge-404-log', 'on');
|
314 |
}
|
315 |
|
316 |
// install cleanup hook (remove older one if it exists)
|