Version Description
- Added Multisite compatibility.
- Added Options hooks (limit list, you can extend by simple filter).
- Added Menu hooks.
- Tweak - Ensure no duplicate logs..
Download this release
Release Info
Developer | KingYes |
Plugin | Activity Log |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- README.md +6 -0
- aryo-activity-log.php +1 -1
- classes/class-aal-activity-log-list-table.php +7 -3
- classes/class-admin-ui.php +6 -13
- classes/class-api.php +31 -1
- classes/class-hooks.php +17 -1
- classes/class-maintenance.php +68 -7
- language/aryo-aal-he_IL.mo +0 -0
- language/aryo-aal-he_IL.po +17 -17
- language/aryo-aal.pot +17 -13
- language/strings.php +3 -0
- readme.txt +15 -1
README.md
CHANGED
@@ -41,6 +41,12 @@ Widgets
|
|
41 |
* A widget is being added to a sidebar
|
42 |
* A widget is being deleted from a sidebar
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
__Translators:__
|
46 |
|
41 |
* A widget is being added to a sidebar
|
42 |
* A widget is being deleted from a sidebar
|
43 |
|
44 |
+
Options
|
45 |
+
* A option is being updated (can be extend by east filter).
|
46 |
+
|
47 |
+
Menu
|
48 |
+
* A menu is being updated.
|
49 |
+
|
50 |
|
51 |
__Translators:__
|
52 |
|
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.3
|
8 |
Author URI: http://www.aryodigital.com
|
9 |
License: GPLv2 or later
|
10 |
|
classes/class-aal-activity-log-list-table.php
CHANGED
@@ -44,6 +44,10 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
|
|
44 |
}
|
45 |
}
|
46 |
|
|
|
|
|
|
|
|
|
47 |
if ( empty( $allow_caps ) )
|
48 |
wp_die( 'No allowed here.' );
|
49 |
|
@@ -55,12 +59,12 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
|
|
55 |
}
|
56 |
|
57 |
public function __construct() {
|
58 |
-
$this->_roles = array(
|
59 |
// admin
|
60 |
-
'manage_options' => array( 'Post', 'User', 'Options', 'Attachment', 'Plugin', 'Widget', 'Theme' ),
|
61 |
// editor
|
62 |
'edit_pages' => array( 'Post', 'Attachment' ),
|
63 |
-
);
|
64 |
|
65 |
$this->_caps = array(
|
66 |
'administrator' => array( 'administrator', 'editor', 'author', 'guest' ),
|
44 |
}
|
45 |
}
|
46 |
|
47 |
+
// TODO: Find better way to Multisite compatibility.
|
48 |
+
if ( is_super_admin() )
|
49 |
+
$allow_caps = $this->_caps['administrator'];
|
50 |
+
|
51 |
if ( empty( $allow_caps ) )
|
52 |
wp_die( 'No allowed here.' );
|
53 |
|
59 |
}
|
60 |
|
61 |
public function __construct() {
|
62 |
+
$this->_roles = apply_filters( 'aal_init_roles', array(
|
63 |
// admin
|
64 |
+
'manage_options' => array( 'Post', 'User', 'Options', 'Attachment', 'Plugin', 'Widget', 'Theme', 'Menu' ),
|
65 |
// editor
|
66 |
'edit_pages' => array( 'Post', 'Attachment' ),
|
67 |
+
) );
|
68 |
|
69 |
$this->_caps = array(
|
70 |
'administrator' => array( 'administrator', 'editor', 'author', 'guest' ),
|
classes/class-admin-ui.php
CHANGED
@@ -28,19 +28,12 @@ class AAL_Admin_Ui {
|
|
28 |
|
29 |
.aal-pt {
|
30 |
color: white;
|
31 |
-
padding: 1px
|
32 |
-
margin
|
33 |
-
font-size:
|
34 |
border-radius: 3px;
|
35 |
-
background:
|
36 |
-
font-family:
|
37 |
-
background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
|
38 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8));
|
39 |
-
background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
|
40 |
-
background: -o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
|
41 |
-
background: -ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
|
42 |
-
background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
|
43 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );
|
44 |
}
|
45 |
|
46 |
</style>
|
@@ -50,4 +43,4 @@ class AAL_Admin_Ui {
|
|
50 |
public function __construct() {
|
51 |
add_action( 'admin_menu', array( &$this, 'create_admin_menu' ) );
|
52 |
}
|
53 |
-
}
|
28 |
|
29 |
.aal-pt {
|
30 |
color: white;
|
31 |
+
padding: 1px 4px;
|
32 |
+
margin: 0 5px;
|
33 |
+
font-size: 1em;
|
34 |
border-radius: 3px;
|
35 |
+
background: gray;
|
36 |
+
font-family: inherit;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
|
39 |
</style>
|
43 |
public function __construct() {
|
44 |
add_action( 'admin_menu', array( &$this, 'create_admin_menu' ) );
|
45 |
}
|
46 |
+
}
|
classes/class-api.php
CHANGED
@@ -41,7 +41,37 @@ class AAL_API {
|
|
41 |
$args['user_caps'] = 'guest';
|
42 |
if ( empty( $args['user_id'] ) )
|
43 |
$args['user_id'] = 0;
|
44 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
$wpdb->insert( $wpdb->activity_log,
|
47 |
array(
|
41 |
$args['user_caps'] = 'guest';
|
42 |
if ( empty( $args['user_id'] ) )
|
43 |
$args['user_id'] = 0;
|
44 |
+
}
|
45 |
+
|
46 |
+
// TODO: Find better way to Multisite compatibility.
|
47 |
+
if ( empty( $args['user_caps'] ) )
|
48 |
+
$args['user_caps'] = 'administrator';
|
49 |
+
|
50 |
+
// Make sure for non duplicate.
|
51 |
+
$check_duplicate = $wpdb->get_row( $wpdb->prepare(
|
52 |
+
'SELECT `histid` FROM %1$s
|
53 |
+
WHERE `user_caps` = \'%2$s\'
|
54 |
+
AND `action` = \'%3$s\'
|
55 |
+
AND `object_type` = \'%4$s\'
|
56 |
+
AND `object_subtype` = \'%5$s\'
|
57 |
+
AND `object_name` = \'%6$s\'
|
58 |
+
AND `user_id` = \'%7$s\'
|
59 |
+
AND `hist_ip` = \'%8$s\'
|
60 |
+
AND `hist_time` = \'%9$s\'
|
61 |
+
;',
|
62 |
+
$wpdb->activity_log,
|
63 |
+
$args['user_caps'],
|
64 |
+
$args['action'],
|
65 |
+
$args['object_type'],
|
66 |
+
$args['object_subtype'],
|
67 |
+
$args['object_name'],
|
68 |
+
$args['user_id'],
|
69 |
+
$args['hist_ip'],
|
70 |
+
$args['hist_time']
|
71 |
+
) );
|
72 |
+
|
73 |
+
if ( $check_duplicate )
|
74 |
+
return;
|
75 |
|
76 |
$wpdb->insert( $wpdb->activity_log,
|
77 |
array(
|
classes/class-hooks.php
CHANGED
@@ -55,7 +55,9 @@ class AAL_Hooks {
|
|
55 |
|
56 |
// Options
|
57 |
add_action( 'updated_option', array( &$this, 'hooks_updated_option' ), 10, 3 );
|
58 |
-
|
|
|
|
|
59 |
}
|
60 |
|
61 |
public function admin_init() {
|
@@ -181,6 +183,10 @@ class AAL_Hooks {
|
|
181 |
if ( wp_is_post_revision( $post->ID ) )
|
182 |
return;
|
183 |
|
|
|
|
|
|
|
|
|
184 |
aal_insert_log( array(
|
185 |
'action' => $action,
|
186 |
'object_type' => 'Post',
|
@@ -333,6 +339,16 @@ class AAL_Hooks {
|
|
333 |
'object_name' => $option,
|
334 |
) );
|
335 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
|
337 |
public function __construct() {
|
338 |
add_action( 'init', array( &$this, 'init' ) );
|
55 |
|
56 |
// Options
|
57 |
add_action( 'updated_option', array( &$this, 'hooks_updated_option' ), 10, 3 );
|
58 |
+
|
59 |
+
// Menu
|
60 |
+
add_action( 'wp_update_nav_menu', array( &$this, 'hooks_menu_updated' ) );
|
61 |
}
|
62 |
|
63 |
public function admin_init() {
|
183 |
if ( wp_is_post_revision( $post->ID ) )
|
184 |
return;
|
185 |
|
186 |
+
// Skip for menu items.
|
187 |
+
if ( 'nav_menu_item' === get_post_type( $post->ID ) )
|
188 |
+
return;
|
189 |
+
|
190 |
aal_insert_log( array(
|
191 |
'action' => $action,
|
192 |
'object_type' => 'Post',
|
339 |
'object_name' => $option,
|
340 |
) );
|
341 |
}
|
342 |
+
|
343 |
+
public function hooks_menu_updated( $nav_menu_selected_id ) {
|
344 |
+
if ( $menu_object = wp_get_nav_menu_object( $nav_menu_selected_id ) ) {
|
345 |
+
aal_insert_log( array(
|
346 |
+
'action' => 'updated',
|
347 |
+
'object_type' => 'Menu',
|
348 |
+
'object_name' => $menu_object->name,
|
349 |
+
) );
|
350 |
+
}
|
351 |
+
}
|
352 |
|
353 |
public function __construct() {
|
354 |
add_action( 'init', array( &$this, 'init' ) );
|
classes/class-maintenance.php
CHANGED
@@ -3,11 +3,67 @@
|
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
|
5 |
class AAL_Maintenance {
|
6 |
-
|
7 |
-
public static function activate() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
global $wpdb;
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
`histid` int(11) NOT NULL AUTO_INCREMENT,
|
12 |
`user_caps` varchar(70) NOT NULL DEFAULT 'guest',
|
13 |
`action` varchar(255) NOT NULL,
|
@@ -23,18 +79,23 @@ class AAL_Maintenance {
|
|
23 |
|
24 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
25 |
dbDelta( $sql );
|
26 |
-
|
27 |
update_option( 'activity_log_db_version', '1.0' );
|
28 |
}
|
29 |
|
30 |
-
|
31 |
global $wpdb;
|
32 |
|
33 |
-
$wpdb->query( "DROP TABLE IF EXISTS $wpdb->
|
34 |
|
35 |
delete_option( 'activity_log_db_version' );
|
36 |
}
|
37 |
}
|
38 |
|
39 |
register_activation_hook( ACTIVITY_LOG_BASE, array( 'AAL_Maintenance', 'activate' ) );
|
40 |
-
register_uninstall_hook( ACTIVITY_LOG_BASE, array( 'AAL_Maintenance', 'uninstall' ) );
|
|
|
|
|
|
|
|
|
|
3 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
4 |
|
5 |
class AAL_Maintenance {
|
6 |
+
|
7 |
+
public static function activate( $network_wide ) {
|
8 |
+
global $wpdb;
|
9 |
+
|
10 |
+
if ( function_exists( 'is_multisite') && is_multisite() && $network_wide ) {
|
11 |
+
$old_blog_id = $wpdb->blogid;
|
12 |
+
|
13 |
+
$blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
|
14 |
+
foreach ( $blog_ids as $blog_id ) {
|
15 |
+
switch_to_blog( $blog_id );
|
16 |
+
self::_create_tables();
|
17 |
+
}
|
18 |
+
|
19 |
+
switch_to_blog( $old_blog_id );
|
20 |
+
} else {
|
21 |
+
self::_create_tables();
|
22 |
+
}
|
23 |
+
}
|
24 |
+
|
25 |
+
public static function uninstall( $network_deactivating ) {
|
26 |
global $wpdb;
|
27 |
|
28 |
+
if ( function_exists( 'is_multisite') && is_multisite() && $network_deactivating ) {
|
29 |
+
$old_blog_id = $wpdb->blogid;
|
30 |
+
|
31 |
+
$blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs;" );
|
32 |
+
foreach ( $blog_ids as $blog_id ) {
|
33 |
+
switch_to_blog( $blog_id );
|
34 |
+
self::_remove_tables();
|
35 |
+
}
|
36 |
+
|
37 |
+
switch_to_blog( $old_blog_id );
|
38 |
+
} else {
|
39 |
+
self::_remove_tables();
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
public static function mu_new_blog_installer( $blog_id, $user_id, $domain, $path, $site_id, $meta ) {
|
44 |
+
global $wpdb;
|
45 |
+
|
46 |
+
if ( is_plugin_active_for_network( ACTIVITY_LOG_BASE ) ) {
|
47 |
+
$old_blog_id = $wpdb->blogid;
|
48 |
+
switch_to_blog( $blog_id );
|
49 |
+
self::_create_tables();
|
50 |
+
switch_to_blog( $old_blog_id );
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
public static function mu_delete_blog( $blog_id, $drop ) {
|
55 |
+
global $wpdb;
|
56 |
+
|
57 |
+
$old_blog_id = $wpdb->blogid;
|
58 |
+
switch_to_blog( $blog_id );
|
59 |
+
self::_remove_tables();
|
60 |
+
switch_to_blog( $old_blog_id );
|
61 |
+
}
|
62 |
+
|
63 |
+
protected static function _create_tables() {
|
64 |
+
global $wpdb;
|
65 |
+
|
66 |
+
$sql = "CREATE TABLE IF NOT EXISTS `{$wpdb->prefix}aryo_activity_log` (
|
67 |
`histid` int(11) NOT NULL AUTO_INCREMENT,
|
68 |
`user_caps` varchar(70) NOT NULL DEFAULT 'guest',
|
69 |
`action` varchar(255) NOT NULL,
|
79 |
|
80 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
81 |
dbDelta( $sql );
|
82 |
+
|
83 |
update_option( 'activity_log_db_version', '1.0' );
|
84 |
}
|
85 |
|
86 |
+
protected static function _remove_tables() {
|
87 |
global $wpdb;
|
88 |
|
89 |
+
$wpdb->query( "DROP TABLE IF EXISTS `{$wpdb->prefix}aryo_activity_log`;" );
|
90 |
|
91 |
delete_option( 'activity_log_db_version' );
|
92 |
}
|
93 |
}
|
94 |
|
95 |
register_activation_hook( ACTIVITY_LOG_BASE, array( 'AAL_Maintenance', 'activate' ) );
|
96 |
+
register_uninstall_hook( ACTIVITY_LOG_BASE, array( 'AAL_Maintenance', 'uninstall' ) );
|
97 |
+
|
98 |
+
// MU installer for new blog.
|
99 |
+
add_action( 'wpmu_new_blog', array( 'AAL_Maintenance', 'mu_new_blog_installer' ), 10, 6 );
|
100 |
+
// MU Uninstall for delete blog.
|
101 |
+
add_action( 'delete_blog', array( 'AAL_Maintenance', 'mu_delete_blog' ), 10, 2 );
|
language/aryo-aal-he_IL.mo
CHANGED
Binary file
|
language/aryo-aal-he_IL.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: ARYO Activity Log\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
|
7 |
-
"POT-Creation-Date: 2013-
|
8 |
-
"PO-Revision-Date: 2013-
|
9 |
"Last-Translator: Yakir Sitbon <kingyes1@gmail.com>\n"
|
10 |
"Language-Team: Yakir Sitbon & Arie Klikstein <aryodigital@gmail.com>\n"
|
11 |
"Language: he_IL\n"
|
@@ -19,49 +19,45 @@ msgstr ""
|
|
19 |
"X-Poedit-Basepath: .\n"
|
20 |
"X-Poedit-SearchPath-0: ..\n"
|
21 |
|
22 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
23 |
-
#, fuzzy
|
24 |
msgid "Type"
|
25 |
msgstr "סוג"
|
26 |
|
27 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
28 |
-
#, fuzzy
|
29 |
msgid "Name"
|
30 |
msgstr "שם"
|
31 |
|
32 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
33 |
-
#, fuzzy
|
34 |
msgid "Action"
|
35 |
msgstr "פעולה"
|
36 |
|
37 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
38 |
-
#, fuzzy
|
39 |
msgid "Date"
|
40 |
msgstr "תאריך"
|
41 |
|
42 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
43 |
#, php-format
|
44 |
msgid "%s ago"
|
45 |
msgstr "לפני %s"
|
46 |
|
47 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
48 |
msgid "by "
|
49 |
msgstr "ע\"י"
|
50 |
|
51 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
52 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
53 |
msgid "Guest"
|
54 |
msgstr "אורח"
|
55 |
|
56 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
57 |
msgid "All Users"
|
58 |
msgstr "כל המשתמשים"
|
59 |
|
60 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
61 |
msgid "All Types"
|
62 |
msgstr "כל הסוגים"
|
63 |
|
64 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
65 |
msgid "Filter"
|
66 |
msgstr "סינון"
|
67 |
|
@@ -165,3 +161,7 @@ msgstr "וידג'טים"
|
|
165 |
#: ../language/strings.php:28
|
166 |
msgid "Options"
|
167 |
msgstr "הגדרות"
|
|
|
|
|
|
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: ARYO Activity Log\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
|
7 |
+
"POT-Creation-Date: 2013-06-03 00:27+0200\n"
|
8 |
+
"PO-Revision-Date: 2013-06-03 00:28+0200\n"
|
9 |
"Last-Translator: Yakir Sitbon <kingyes1@gmail.com>\n"
|
10 |
"Language-Team: Yakir Sitbon & Arie Klikstein <aryodigital@gmail.com>\n"
|
11 |
"Language: he_IL\n"
|
19 |
"X-Poedit-Basepath: .\n"
|
20 |
"X-Poedit-SearchPath-0: ..\n"
|
21 |
|
22 |
+
#: ../classes/class-aal-activity-log-list-table.php:82
|
|
|
23 |
msgid "Type"
|
24 |
msgstr "סוג"
|
25 |
|
26 |
+
#: ../classes/class-aal-activity-log-list-table.php:83
|
|
|
27 |
msgid "Name"
|
28 |
msgstr "שם"
|
29 |
|
30 |
+
#: ../classes/class-aal-activity-log-list-table.php:84
|
|
|
31 |
msgid "Action"
|
32 |
msgstr "פעולה"
|
33 |
|
34 |
+
#: ../classes/class-aal-activity-log-list-table.php:85
|
|
|
35 |
msgid "Date"
|
36 |
msgstr "תאריך"
|
37 |
|
38 |
+
#: ../classes/class-aal-activity-log-list-table.php:99
|
39 |
#, php-format
|
40 |
msgid "%s ago"
|
41 |
msgstr "לפני %s"
|
42 |
|
43 |
+
#: ../classes/class-aal-activity-log-list-table.php:120
|
44 |
msgid "by "
|
45 |
msgstr "ע\"י"
|
46 |
|
47 |
+
#: ../classes/class-aal-activity-log-list-table.php:127
|
48 |
+
#: ../classes/class-aal-activity-log-list-table.php:172
|
49 |
msgid "Guest"
|
50 |
msgstr "אורח"
|
51 |
|
52 |
+
#: ../classes/class-aal-activity-log-list-table.php:183
|
53 |
msgid "All Users"
|
54 |
msgstr "כל המשתמשים"
|
55 |
|
56 |
+
#: ../classes/class-aal-activity-log-list-table.php:210
|
57 |
msgid "All Types"
|
58 |
msgstr "כל הסוגים"
|
59 |
|
60 |
+
#: ../classes/class-aal-activity-log-list-table.php:216
|
61 |
msgid "Filter"
|
62 |
msgstr "סינון"
|
63 |
|
161 |
#: ../language/strings.php:28
|
162 |
msgid "Options"
|
163 |
msgstr "הגדרות"
|
164 |
+
|
165 |
+
#: ../language/strings.php:31
|
166 |
+
msgid "Menu"
|
167 |
+
msgstr "תפריט"
|
language/aryo-aal.pot
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: ARYO Activity Log\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
|
7 |
-
"POT-Creation-Date: 2013-
|
8 |
-
"PO-Revision-Date: 2013-
|
9 |
"Last-Translator: Yakir Sitbon <kingyes1@gmail.com>\n"
|
10 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
11 |
"MIME-Version: 1.0\n"
|
@@ -18,45 +18,45 @@ msgstr ""
|
|
18 |
"X-Poedit-Basepath: .\n"
|
19 |
"X-Poedit-SearchPath-0: ..\n"
|
20 |
|
21 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
22 |
msgid "Type"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
26 |
msgid "Name"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
30 |
msgid "Action"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
34 |
msgid "Date"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
38 |
#, php-format
|
39 |
msgid "%s ago"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
43 |
msgid "by "
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
47 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
48 |
msgid "Guest"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
52 |
msgid "All Users"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
56 |
msgid "All Types"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: ../classes/class-aal-activity-log-list-table.php:
|
60 |
msgid "Filter"
|
61 |
msgstr ""
|
62 |
|
@@ -160,3 +160,7 @@ msgstr ""
|
|
160 |
#: ../language/strings.php:28
|
161 |
msgid "Options"
|
162 |
msgstr ""
|
|
|
|
|
|
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: ARYO Activity Log\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
|
7 |
+
"POT-Creation-Date: 2013-06-03 00:27+0200\n"
|
8 |
+
"PO-Revision-Date: 2013-06-03 00:27+0200\n"
|
9 |
"Last-Translator: Yakir Sitbon <kingyes1@gmail.com>\n"
|
10 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
11 |
"MIME-Version: 1.0\n"
|
18 |
"X-Poedit-Basepath: .\n"
|
19 |
"X-Poedit-SearchPath-0: ..\n"
|
20 |
|
21 |
+
#: ../classes/class-aal-activity-log-list-table.php:82
|
22 |
msgid "Type"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: ../classes/class-aal-activity-log-list-table.php:83
|
26 |
msgid "Name"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: ../classes/class-aal-activity-log-list-table.php:84
|
30 |
msgid "Action"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: ../classes/class-aal-activity-log-list-table.php:85
|
34 |
msgid "Date"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: ../classes/class-aal-activity-log-list-table.php:99
|
38 |
#, php-format
|
39 |
msgid "%s ago"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: ../classes/class-aal-activity-log-list-table.php:120
|
43 |
msgid "by "
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: ../classes/class-aal-activity-log-list-table.php:127
|
47 |
+
#: ../classes/class-aal-activity-log-list-table.php:172
|
48 |
msgid "Guest"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: ../classes/class-aal-activity-log-list-table.php:183
|
52 |
msgid "All Users"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: ../classes/class-aal-activity-log-list-table.php:210
|
56 |
msgid "All Types"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: ../classes/class-aal-activity-log-list-table.php:216
|
60 |
msgid "Filter"
|
61 |
msgstr ""
|
62 |
|
160 |
#: ../language/strings.php:28
|
161 |
msgid "Options"
|
162 |
msgstr ""
|
163 |
+
|
164 |
+
#: ../language/strings.php:31
|
165 |
+
msgid "Menu"
|
166 |
+
msgstr ""
|
language/strings.php
CHANGED
@@ -26,3 +26,6 @@ __( 'Widget', 'aryo-aal' );
|
|
26 |
|
27 |
// Options
|
28 |
__( 'Options', 'aryo-aal' );
|
|
|
|
|
|
26 |
|
27 |
// Options
|
28 |
__( 'Options', 'aryo-aal' );
|
29 |
+
|
30 |
+
// Menu
|
31 |
+
__( 'Menu', 'aryo-aal' );
|
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.
|
@@ -55,6 +55,14 @@ Widgets
|
|
55 |
* A widget is being added to a sidebar
|
56 |
* A widget is being deleted from a sidebar
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
<strong>Translators:</strong>
|
60 |
|
@@ -95,6 +103,12 @@ Would you like to like to cotribute to Activity Log? You are more than welcome t
|
|
95 |
|
96 |
== Changelog ==
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
= 1.0.2 =
|
99 |
* Forget remove old .pot file
|
100 |
|
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.3
|
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.
|
55 |
* A widget is being added to a sidebar
|
56 |
* A widget is being deleted from a sidebar
|
57 |
|
58 |
+
Options
|
59 |
+
|
60 |
+
* A option is being updated (can be extend by east filter).
|
61 |
+
|
62 |
+
Menu
|
63 |
+
|
64 |
+
* A menu is being updated.
|
65 |
+
|
66 |
|
67 |
<strong>Translators:</strong>
|
68 |
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
= 1.0.3 =
|
107 |
+
* Added Multisite compatibility.
|
108 |
+
* Added Options hooks (limit list, you can extend by simple filter).
|
109 |
+
* Added Menu hooks.
|
110 |
+
* Tweak - Ensure no duplicate logs..
|
111 |
+
|
112 |
= 1.0.2 =
|
113 |
* Forget remove old .pot file
|
114 |
|