Activity Log - Version 2.6.1

Version Description

  • 2021-02-15 =
  • Fix: Conflict with WooCommerce while you using new editor
Download this release

Release Info

Developer KingYes
Plugin Icon 128x128 Activity Log
Version 2.6.1
Comparing to
See all releases

Code changes from version 2.6.0 to 2.6.1

aryo-activity-log.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://activitylog.io/?utm_source=wp-plugins&utm_campaign=plugin-ur
5
  Description: Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site. e.g. post was deleted, plugin was activated, user logged in or logged out - it's all these for you to see.
6
  Author: Activity Log Team
7
  Author URI: https://activitylog.io/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
8
- Version: 2.6.0
9
  Text Domain: aryo-activity-log
10
  License: GPLv2 or later
11
 
@@ -95,7 +95,7 @@ final class AAL_Main {
95
  */
96
  protected function __construct() {
97
  global $wpdb;
98
-
99
  $this->ui = new AAL_Admin_Ui();
100
  $this->hooks = new AAL_Hooks();
101
  $this->settings = new AAL_Settings();
5
  Description: Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site. e.g. post was deleted, plugin was activated, user logged in or logged out - it's all these for you to see.
6
  Author: Activity Log Team
7
  Author URI: https://activitylog.io/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
8
+ Version: 2.6.1
9
  Text Domain: aryo-activity-log
10
  License: GPLv2 or later
11
 
95
  */
96
  protected function __construct() {
97
  global $wpdb;
98
+
99
  $this->ui = new AAL_Admin_Ui();
100
  $this->hooks = new AAL_Hooks();
101
  $this->settings = new AAL_Settings();
classes/class-aal-integration-woocommerce.php CHANGED
@@ -6,11 +6,12 @@ class AAL_Integration_WooCommerce {
6
  private $_wc_options = array();
7
 
8
  public function init() {
9
- if ( ! class_exists( 'Woocommerce' ) )
10
  return;
 
11
 
12
- add_filter( 'aal_whitelist_options', array( &$this, 'wc_aal_whitelist_options' ) );
13
- add_filter( 'woocommerce_get_settings_pages', array( &$this, 'wc_get_settings_pages' ), 9999 );
14
  }
15
 
16
  /**
@@ -27,9 +28,14 @@ class AAL_Integration_WooCommerce {
27
  $this->_wc_options = array();
28
 
29
  foreach ( $settings as $setting ) {
 
 
 
 
30
  foreach ( $setting->get_settings() as $option ) {
31
- if ( isset( $option['id'] ) && ( ! isset( $option['type'] ) || ! in_array( $option['type'], $wc_exclude_types ) ) )
32
  $this->_wc_options[] = $option['id'];
 
33
  }
34
  }
35
  }
6
  private $_wc_options = array();
7
 
8
  public function init() {
9
+ if ( ! class_exists( 'Woocommerce' ) ) {
10
  return;
11
+ }
12
 
13
+ add_filter( 'aal_whitelist_options', array( $this, 'wc_aal_whitelist_options' ) );
14
+ add_filter( 'woocommerce_get_settings_pages', array( $this, 'wc_get_settings_pages' ), 9999 );
15
  }
16
 
17
  /**
28
  $this->_wc_options = array();
29
 
30
  foreach ( $settings as $setting ) {
31
+ if ( 'advanced' === $setting->get_id() ) {
32
+ continue;
33
+ }
34
+
35
  foreach ( $setting->get_settings() as $option ) {
36
+ if ( isset( $option['id'] ) && ( ! isset( $option['type'] ) || ! in_array( $option['type'], $wc_exclude_types ) ) ) {
37
  $this->_wc_options[] = $option['id'];
38
+ }
39
  }
40
  }
41
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: pojo.me, KingYes, ariel.k, maor
3
  Tags: Activity Log, Security Log, User Activity, User Log, Activity, audit log, monitor, security, tracking, woocommerce, bbPress,
4
  Requires at least: 4.4
5
- Tested up to: 5.6
6
- Stable tag: 2.6.0
7
  License: GPLv2 or later
8
 
9
  The #1 Activity Log plugin helps you monitor & log all changes and activities on your site, so you can run a safer, more organized WordPress site.
@@ -112,6 +112,9 @@ Would you like to like to contribute to Activity Log? You are more than welcome
112
 
113
  == Changelog ==
114
 
 
 
 
115
  = 2.6.0 - 2020-10-19 =
116
  * Tweak: Added support for CloudFlare and CloudFlare Enterprise client IP header ([#133](https://github.com/pojome/activity-log/issues/133))
117
  * Tweak: Added browser confirmation to Reset Database option
2
  Contributors: pojo.me, KingYes, ariel.k, maor
3
  Tags: Activity Log, Security Log, User Activity, User Log, Activity, audit log, monitor, security, tracking, woocommerce, bbPress,
4
  Requires at least: 4.4
5
+ Tested up to: 5.7
6
+ Stable tag: 2.6.1
7
  License: GPLv2 or later
8
 
9
  The #1 Activity Log plugin helps you monitor & log all changes and activities on your site, so you can run a safer, more organized WordPress site.
112
 
113
  == Changelog ==
114
 
115
+ = 2.6.1 - 2021-02-15 =
116
+ * Fix: Conflict with WooCommerce while you using new editor
117
+
118
  = 2.6.0 - 2020-10-19 =
119
  * Tweak: Added support for CloudFlare and CloudFlare Enterprise client IP header ([#133](https://github.com/pojome/activity-log/issues/133))
120
  * Tweak: Added browser confirmation to Reset Database option