Version Description
- Fix - Make sure no save double lines (menu taxonomy / post).
Download this release
Release Info
Developer | KingYes |
Plugin | Activity Log |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- aryo-activity-log.php +1 -1
- classes/class-hooks.php +8 -0
- readme.txt +4 -1
aryo-activity-log.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: ARYO Activity Log
|
|
4 |
Plugin URI: http://wordpress.org/plugins/aryo-activity-log/
|
5 |
Description: Get aware of the activities that are taking place on your dashboard! Weather a post was deleted or a plugin was activated, it’s all these for you to see.
|
6 |
Author: Yakir Sitbon, Maor Chasen, Ariel Klikstein
|
7 |
-
Version: 1.0.
|
8 |
Author URI: http://www.aryodigital.com
|
9 |
License: GPLv2 or later
|
10 |
|
4 |
Plugin URI: http://wordpress.org/plugins/aryo-activity-log/
|
5 |
Description: Get aware of the activities that are taking place on your dashboard! Weather a post was deleted or a plugin was activated, it’s all these for you to see.
|
6 |
Author: Yakir Sitbon, Maor Chasen, Ariel Klikstein
|
7 |
+
Version: 1.0.5
|
8 |
Author URI: http://www.aryodigital.com
|
9 |
License: GPLv2 or later
|
10 |
|
classes/class-hooks.php
CHANGED
@@ -210,6 +210,10 @@ class AAL_Hooks {
|
|
210 |
if ( in_array( $post->post_status, array( 'auto-draft', 'inherit' ) ) )
|
211 |
return;
|
212 |
|
|
|
|
|
|
|
|
|
213 |
aal_insert_log( array(
|
214 |
'action' => 'deleted',
|
215 |
'object_type' => 'Post',
|
@@ -356,6 +360,10 @@ class AAL_Hooks {
|
|
356 |
}
|
357 |
|
358 |
public function hooks_created_edited_deleted_term( $term_id, $tt_id, $taxonomy, $deleted_term = null ) {
|
|
|
|
|
|
|
|
|
359 |
if ( 'delete_term' === current_filter() )
|
360 |
$term = $deleted_term;
|
361 |
else
|
210 |
if ( in_array( $post->post_status, array( 'auto-draft', 'inherit' ) ) )
|
211 |
return;
|
212 |
|
213 |
+
// Skip for menu items.
|
214 |
+
if ( 'nav_menu_item' === get_post_type( $post->ID ) )
|
215 |
+
return;
|
216 |
+
|
217 |
aal_insert_log( array(
|
218 |
'action' => 'deleted',
|
219 |
'object_type' => 'Post',
|
360 |
}
|
361 |
|
362 |
public function hooks_created_edited_deleted_term( $term_id, $tt_id, $taxonomy, $deleted_term = null ) {
|
363 |
+
// Make sure do not action nav menu taxonomy.
|
364 |
+
if ( 'nav_menu' === $taxonomy )
|
365 |
+
return;
|
366 |
+
|
367 |
if ( 'delete_term' === current_filter() )
|
368 |
$term = $deleted_term;
|
369 |
else
|
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
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.5.1
|
6 |
-
Stable tag: 1.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.
|
@@ -109,6 +109,9 @@ Would you like to like to cotribute to Activity Log? You are more than welcome t
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
112 |
= 1.0.4 =
|
113 |
* Added Taxonomy type (created, updated, deleted).
|
114 |
|
3 |
Tags: access, admin, administration, activity, community, event, monitor, multisite, multi-users, log, logging, logger, login, network, stats, security, tracking, user, madeinisrael
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 3.5.1
|
6 |
+
Stable tag: 1.0.5
|
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.
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 1.0.5 =
|
113 |
+
* Fix - Make sure no save double lines (menu taxonomy / post).
|
114 |
+
|
115 |
= 1.0.4 =
|
116 |
* Added Taxonomy type (created, updated, deleted).
|
117 |
|