WP Security Audit Log - Version 2.5.1

Version Description

(2016-07-26) =

  • Bug fixes
    • Fixed the disabling functionality of Alert 6007 because it was not working.
    • Fixed the disabling functionality for Alerts 1000 and 1001.
    • Merged bug fixes from version 2.4.4 (were not included in 2.5.0).
Download this release

Release Info

Developer WPWhiteSecurity
Plugin Icon 128x128 WP Security Audit Log
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.1

classes/Sensors/LogInOut.php CHANGED
@@ -115,6 +115,11 @@ class WSAL_Sensors_LogInOut extends WSAL_AbstractSensor
115
  }
116
  }
117
 
 
 
 
 
 
118
  if ($this->IsPastLoginFailureLimit($ip, $site_id, $user)) {
119
  return;
120
  }
115
  }
116
  }
117
 
118
+ // Check if the alert is disabled from the "Enable/Disable Alerts" section
119
+ if (!$this->plugin->alerts->IsEnabled($newAlertCode)) {
120
+ return;
121
+ }
122
+
123
  if ($this->IsPastLoginFailureLimit($ip, $site_id, $user)) {
124
  return;
125
  }
classes/Sensors/System.php CHANGED
@@ -60,6 +60,10 @@ class WSAL_Sensors_System extends WSAL_AbstractSensor
60
 
61
  public function Event404()
62
  {
 
 
 
 
63
  global $wp_query;
64
  if (!$wp_query->is_404) {
65
  return;
60
 
61
  public function Event404()
62
  {
63
+ // Check if the alert is disabled from the "Enable/Disable Alerts" section
64
+ if (!$this->plugin->alerts->IsEnabled(6007)) {
65
+ return;
66
+ }
67
  global $wp_query;
68
  if (!$wp_query->is_404) {
69
  return;
readme.txt CHANGED
@@ -7,7 +7,7 @@ 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.5
10
- Stable tag: 2.5.0
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,13 @@ Please refer to the [FAQs page](https://www.wpsecurityauditlog.com/documentation
176
 
177
  == Changelog ==
178
 
 
 
 
 
 
 
 
179
  = 2.5.0 (2016-07-12) =
180
 
181
  Read the [WP Security Audit Log 2.5.0 release notes](https://www.wpsecurityauditlog.com/wordpress-user-monitoring-plugin-releases/log-wordpress-comments-activity-2-5) for a detailed overview of what is new.
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.5
10
+ Stable tag: 2.5.1
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.1 (2016-07-26) =
180
+
181
+ * **Bug fixes**
182
+ * Fixed the disabling functionality of Alert 6007 because it was not working.
183
+ * Fixed the disabling functionality for Alerts 1000 and 1001.
184
+ * Merged bug fixes from version 2.4.4 (were not included in 2.5.0).
185
+
186
  = 2.5.0 (2016-07-12) =
187
 
188
  Read the [WP Security Audit Log 2.5.0 release notes](https://www.wpsecurityauditlog.com/wordpress-user-monitoring-plugin-releases/log-wordpress-comments-activity-2-5) for a detailed overview of what is new.
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.0
8
  Text Domain: wp-security-audit-log
9
  Author URI: http://www.wpsecurityauditlog.com/
10
  License: GPL2
@@ -448,11 +448,15 @@ class WpSecurityAuditLog {
448
  * @internal To be called in admin header for hiding plugin form Plugins list.
449
  */
450
  public function HidePlugin() {
451
- $selectr = '.wp-list-table.plugins #';
452
  $plugins = array('wp-security-audit-log');
453
- foreach ($this->licensing->Plugins() as $plugin)
454
  $plugins[] = strtolower(str_replace(' ', '-', $plugin['PluginData']['Name']));
455
- ?><style type="text/css"> <?php echo $selectr . implode(', ' . $selectr, $plugins); ?> { display: none; }</style><?php
 
 
 
 
456
  }
457
 
458
  /**
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.1
8
  Text Domain: wp-security-audit-log
9
  Author URI: http://www.wpsecurityauditlog.com/
10
  License: GPL2
448
  * @internal To be called in admin header for hiding plugin form Plugins list.
449
  */
450
  public function HidePlugin() {
451
+ $selectr = '';
452
  $plugins = array('wp-security-audit-log');
453
+ foreach ($this->licensing->Plugins() as $plugin) {
454
  $plugins[] = strtolower(str_replace(' ', '-', $plugin['PluginData']['Name']));
455
+ }
456
+ foreach ($plugins as $value) {
457
+ $selectr .= '.wp-list-table.plugins tr[data-slug="' . $value . '"], ';
458
+ }
459
+ ?><style type="text/css"> <?php echo rtrim($selectr, ", "); ?> { display: none; }</style><?php
460
  }
461
 
462
  /**