WP Security Audit Log - Version 3.4.3.1

Version Description

Download this release

Release Info

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

Code changes from version 3.4.23 to 3.4.3.1

classes/Connector/ConnectorFactory.php CHANGED
@@ -95,7 +95,13 @@ abstract class WSAL_Connector_ConnectorFactory {
95
  $conf = new WSAL_Settings( WpSecurityAuditLog::GetInstance() );
96
  $type = $conf->GetAdapterConfig( 'adapter-type' );
97
 
98
- if ( $type && wsal_freemius()->is_not_paying() ) {
 
 
 
 
 
 
99
  $connector = new WSAL_Connector_MySQLDB();
100
 
101
  if ( ! self::$is_installed ) {
95
  $conf = new WSAL_Settings( WpSecurityAuditLog::GetInstance() );
96
  $type = $conf->GetAdapterConfig( 'adapter-type' );
97
 
98
+ if ( function_exists( 'wsal_freemius' ) && ! apply_filters( 'wsal_disable_freemius_sdk', false ) ) {
99
+ $is_not_paying = wsal_freemius()->is_not_paying();
100
+ } else {
101
+ $is_not_paying = 'no' === WpSecurityAuditLog::is_premium_freemius();
102
+ }
103
+
104
+ if ( $type && $is_not_paying ) {
105
  $connector = new WSAL_Connector_MySQLDB();
106
 
107
  if ( ! self::$is_installed ) {
classes/Sensors/MetaData.php CHANGED
@@ -571,7 +571,7 @@ class WSAL_Sensors_MetaData extends WSAL_AbstractSensor {
571
  * @since 3.2.3
572
  */
573
  public function must_not_contain_new_user_alert( WSAL_AlertManager $manager ) {
574
- return ! $manager->WillOrHasTriggered( 4001 );
575
  }
576
 
577
  /**
571
  * @since 3.2.3
572
  */
573
  public function must_not_contain_new_user_alert( WSAL_AlertManager $manager ) {
574
+ return ! $manager->WillOrHasTriggered( 4001 ) && ! $manager->WillOrHasTriggered( 4012 );
575
  }
576
 
577
  /**
classes/Sensors/Public.php CHANGED
@@ -80,7 +80,7 @@ class WSAL_Sensors_Public extends WSAL_AbstractSensor {
80
  public function event_user_register( $user_id ) {
81
  $user = get_userdata( $user_id );
82
  $ismu = function_exists( 'is_multisite' ) && is_multisite();
83
- $event = $ismu ? 4012 : is_user_logged_in() ? 4001 : 4000;
84
  $current_user = wp_get_current_user();
85
 
86
  $this->plugin->alerts->Trigger(
80
  public function event_user_register( $user_id ) {
81
  $user = get_userdata( $user_id );
82
  $ismu = function_exists( 'is_multisite' ) && is_multisite();
83
+ $event = $ismu ? 4012 : ( is_user_logged_in() ? 4001 : 4000 );
84
  $current_user = wp_get_current_user();
85
 
86
  $this->plugin->alerts->Trigger(
classes/Views/Help.php CHANGED
@@ -186,7 +186,7 @@ class WSAL_Views_Help extends WSAL_AbstractView {
186
  </p><p>
187
  <a class="button" href="https://wordpress.org/support/plugin/wp-security-audit-log" target="_blank"><?php esc_html_e( 'Free Support Forum', 'wp-security-audit-log' ); ?></a>
188
  &nbsp;&nbsp;&nbsp;&nbsp;
189
- <a class="button" href="http://www.wpsecurityauditlog.com/contact/" target="_blank"><?php esc_html_e( 'Free Support Email', 'wp-security-audit-log' ); ?></a>
190
  </p>
191
  </div>
192
  <div class="wsal-help-section">
186
  </p><p>
187
  <a class="button" href="https://wordpress.org/support/plugin/wp-security-audit-log" target="_blank"><?php esc_html_e( 'Free Support Forum', 'wp-security-audit-log' ); ?></a>
188
  &nbsp;&nbsp;&nbsp;&nbsp;
189
+ <a class="button" href="https://www.wpsecurityauditlog.com/support/submit-ticket/" target="_blank"><?php esc_html_e( 'Free Support Email', 'wp-security-audit-log' ); ?></a>
190
  </p>
191
  </div>
192
  <div class="wsal-help-section">
readme.txt CHANGED
@@ -6,7 +6,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: wordpress security plugin, wordpress security audit log, audit log, activity logs, event log wordpress, wordpress user tracking, wordpress activity log, wordpress audit, security event log, audit trail, wordpress security monitor, wordpress admin, wordpress admin monitoring, user activity, admin, multisite, dashboard, notification, wordpress monitoring, email notification, wordpress email alerts, SMS messages, tracking, user tracking, user activity report, wordpress audit trail
7
  Requires at least: 3.6
8
  Tested up to: 5.2.2
9
- Stable tag: 3.4.3
10
  Requires PHP: 5.5
11
 
12
  An easy to use & comprehensive WordPress activity log plugin to log all changes on WordPress sites & multisite networks.
@@ -204,6 +204,16 @@ Please refer to our [Support & Documentation pages](https://www.wpsecurityauditl
204
 
205
  == Changelog ==
206
 
 
 
 
 
 
 
 
 
 
 
207
  Release notes: [Update 3.4.3 – Front-end plugin performance improvements & MainWP extension support](https://www.wpsecurityauditlog.com/releases/update-3-4-3/)
208
 
209
  = 3.4.3 (2019-08-28) =
6
  Tags: wordpress security plugin, wordpress security audit log, audit log, activity logs, event log wordpress, wordpress user tracking, wordpress activity log, wordpress audit, security event log, audit trail, wordpress security monitor, wordpress admin, wordpress admin monitoring, user activity, admin, multisite, dashboard, notification, wordpress monitoring, email notification, wordpress email alerts, SMS messages, tracking, user tracking, user activity report, wordpress audit trail
7
  Requires at least: 3.6
8
  Tested up to: 5.2.2
9
+ Stable tag: 3.4.3.1
10
  Requires PHP: 5.5
11
 
12
  An easy to use & comprehensive WordPress activity log plugin to log all changes on WordPress sites & multisite networks.
204
 
205
  == Changelog ==
206
 
207
+ =3.4.3.1 (2019-08-29)
208
+
209
+ * **Improvements**
210
+ * Added confirmation for when daily summary email is sent manually.
211
+ * Updated the support links in the help page.
212
+
213
+ * **Bug fixes**
214
+ * Fixed cases in which event ID 4012 was not being reported.
215
+ * Fixed a PHP fatal error caused when public events are disabled.
216
+
217
  Release notes: [Update 3.4.3 – Front-end plugin performance improvements & MainWP extension support](https://www.wpsecurityauditlog.com/releases/update-3-4-3/)
218
 
219
  = 3.4.3 (2019-08-28) =
wp-security-audit-log.php CHANGED
@@ -4,7 +4,7 @@
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: 3.4.3
8
  * Text Domain: wp-security-audit-log
9
  * Author URI: http://www.wpwhitesecurity.com/
10
  * License: GPL2
@@ -47,7 +47,7 @@ if ( ! function_exists( 'wsal_freemius' ) ) {
47
  *
48
  * @var string
49
  */
50
- public $version = '3.4.3';
51
 
52
  // Plugin constants.
53
  const PLG_CLS_PRFX = 'WSAL_';
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: 3.4.3.1
8
  * Text Domain: wp-security-audit-log
9
  * Author URI: http://www.wpwhitesecurity.com/
10
  * License: GPL2
47
  *
48
  * @var string
49
  */
50
+ public $version = '3.4.3.1';
51
 
52
  // Plugin constants.
53
  const PLG_CLS_PRFX = 'WSAL_';