Activity Log - Version 2.0.1

Version Description

  • New! filter for disable erase all the log
  • Bugs fixed
Download this release

Release Info

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

Code changes from version 2.0 to 2.0.1

aryo-activity-log.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://wordpress.org/plugins/aryo-activity-log/
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: Yakir Sitbon, Maor Chasen, Ariel Klikstein
7
  Author URI: http://www.aryodigital.com
8
- Version: 2.0
9
  Text Domain: aryo-aal
10
  Domain Path: /languages/
11
  License: GPLv2 or later
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: Yakir Sitbon, Maor Chasen, Ariel Klikstein
7
  Author URI: http://www.aryodigital.com
8
+ Version: 2.0.1
9
  Text Domain: aryo-aal
10
  Domain Path: /languages/
11
  License: GPLv2 or later
classes/class-aal-settings.php CHANGED
@@ -18,8 +18,12 @@ class AAL_Settings {
18
  }
19
 
20
  public function plugin_action_links( $links ) {
21
- $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=activity-log-settings' ), __( 'Settings', 'aryo-aal' ) );
22
  array_unshift( $links, $settings_link );
 
 
 
 
23
  return $links;
24
  }
25
 
@@ -73,20 +77,22 @@ class AAL_Settings {
73
  )
74
  );
75
 
76
- add_settings_field(
77
- 'raw_delete_log_activities',
78
- __( 'Delete Log Activities', 'aryo-aal' ),
79
- array( 'AAL_Settings_Fields', 'raw_html' ),
80
- $this->slug,
81
- 'general_settings_section',
82
- array(
83
- 'html' => sprintf( __( '<a href="%s" id="%s">Reset Database</a>', 'aryo-aal' ), add_query_arg( array(
84
- 'action' => 'aal_reset_stream',
85
- '_nonce' => wp_create_nonce( 'aal_reset_stream' ),
86
- ), admin_url( 'admin-ajax.php' ) ), 'aal-delete-log-activities' ),
87
- 'desc' => __( 'Warning: Clicking this will delete all activities from the database.', 'aryo-aal' ),
88
- )
89
- );
 
 
90
 
91
  register_setting( 'aal-options', $this->slug );
92
  }
18
  }
19
 
20
  public function plugin_action_links( $links ) {
21
+ $settings_link = sprintf( '<a href="%s" target="_blank">%s</a>', 'https://github.com/KingYes/wordpress-aryo-activity-log', __( 'GitHub', 'aryo-aal' ) );
22
  array_unshift( $links, $settings_link );
23
+
24
+ $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'admin.php?page=activity-log-settings' ), __( 'Settings', 'aryo-aal' ) );
25
+ array_unshift( $links, $settings_link );
26
+
27
  return $links;
28
  }
29
 
77
  )
78
  );
79
 
80
+ if ( apply_filters( 'aal_allow_option_erase_logs', true ) ) {
81
+ add_settings_field(
82
+ 'raw_delete_log_activities',
83
+ __( 'Delete Log Activities', 'aryo-aal' ),
84
+ array( 'AAL_Settings_Fields', 'raw_html' ),
85
+ $this->slug,
86
+ 'general_settings_section',
87
+ array(
88
+ 'html' => sprintf( __( '<a href="%s" id="%s">Reset Database</a>', 'aryo-aal' ), add_query_arg( array(
89
+ 'action' => 'aal_reset_stream',
90
+ '_nonce' => wp_create_nonce( 'aal_reset_stream' ),
91
+ ), admin_url( 'admin-ajax.php' ) ), 'aal-delete-log-activities' ),
92
+ 'desc' => __( 'Warning: Clicking this will delete all activities from the database.', 'aryo-aal' ),
93
+ )
94
+ );
95
+ }
96
 
97
  register_setting( 'aal-options', $this->slug );
98
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: KingYes, ariel.k, maor
3
  Tags: access, admin, administration, activity, community, event, monitor, multisite, multi-users, log, logging, logger, login, network, stats, security, tracking, user, madeinisrael, woocommerce
4
  Requires at least: 3.5
5
  Tested up to: 3.8.1
6
- Stable tag: 2.0
7
  License: GPLv2 or later
8
 
9
  Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site.
@@ -73,7 +73,11 @@ Would you like to like to cotribute to Activity Log? You are more than welcome t
73
 
74
  == Changelog ==
75
 
76
- = 2.0 =
 
 
 
 
77
  * Added Screen Options
78
  * New! Ability to select a number of activity items per page
79
  * New! Columns are now sortable
3
  Tags: access, admin, administration, activity, community, event, monitor, multisite, multi-users, log, logging, logger, login, network, stats, security, tracking, user, madeinisrael, woocommerce
4
  Requires at least: 3.5
5
  Tested up to: 3.8.1
6
+ Stable tag: 2.0.1
7
  License: GPLv2 or later
8
 
9
  Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site.
73
 
74
  == Changelog ==
75
 
76
+ = 2.0.1 =
77
+ * New! filter for disable erase all the log
78
+ * Bugs fixed
79
+
80
+ = 2.0.0 =
81
  * Added Screen Options
82
  * New! Ability to select a number of activity items per page
83
  * New! Columns are now sortable