Activity Log - Version 2.2.6

Version Description

  • Tweak! - Added sort by IP address (#77)
  • Tweak! - Added more actions/types in notification
Download this release

Release Info

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

Code changes from version 2.2.5 to 2.2.6

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://pojo.me/
8
- Version: 2.2.5
9
  Text Domain: aryo-aal
10
  Domain Path: /language/
11
  License: GPLv2 or later
@@ -75,11 +75,17 @@ final class AAL_Main {
75
  * @since 2.0.5
76
  */
77
  public $api;
78
-
 
 
 
79
  public function load_textdomain() {
80
  load_plugin_textdomain( 'aryo-aal', false, basename( dirname( __FILE__ ) ) . '/language' );
81
  }
82
 
 
 
 
83
  protected function __construct() {
84
  global $wpdb;
85
 
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://pojo.me/
8
+ Version: 2.2.6
9
  Text Domain: aryo-aal
10
  Domain Path: /language/
11
  License: GPLv2 or later
75
  * @since 2.0.5
76
  */
77
  public $api;
78
+
79
+ /**
80
+ * Load text domain
81
+ */
82
  public function load_textdomain() {
83
  load_plugin_textdomain( 'aryo-aal', false, basename( dirname( __FILE__ ) ) . '/language' );
84
  }
85
 
86
+ /**
87
+ * Construct
88
+ */
89
  protected function __construct() {
90
  global $wpdb;
91
 
classes/class-aal-activity-log-list-table.php CHANGED
@@ -126,6 +126,7 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
126
 
127
  public function get_sortable_columns() {
128
  return array(
 
129
  'date' => array( 'hist_time', true ),
130
  );
131
  }
@@ -395,7 +396,7 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
395
  if ( ! isset( $_REQUEST['order'] ) || ! in_array( $_REQUEST['order'], array( 'desc', 'asc' ) ) ) {
396
  $_REQUEST['order'] = 'DESC';
397
  }
398
- if ( ! isset( $_REQUEST['orderby'] ) || ! in_array( $_REQUEST['orderby'], array( 'hist_time' ) ) ) {
399
  $_REQUEST['orderby'] = 'hist_time';
400
  }
401
 
126
 
127
  public function get_sortable_columns() {
128
  return array(
129
+ 'ip' => 'hist_ip',
130
  'date' => array( 'hist_time', true ),
131
  );
132
  }
396
  if ( ! isset( $_REQUEST['order'] ) || ! in_array( $_REQUEST['order'], array( 'desc', 'asc' ) ) ) {
397
  $_REQUEST['order'] = 'DESC';
398
  }
399
+ if ( ! isset( $_REQUEST['orderby'] ) || ! in_array( $_REQUEST['orderby'], array( 'hist_time', 'hist_ip' ) ) ) {
400
  $_REQUEST['orderby'] = 'hist_time';
401
  }
402
 
classes/class-aal-notifications.php CHANGED
@@ -59,34 +59,51 @@ class AAL_Notifications {
59
  }
60
 
61
  public function get_object_types() {
62
- // TODO: include filter?
63
- $opts = array(
64
- 'Attachment',
65
- 'Menu',
66
- 'Options',
67
- 'Plugin',
68
- 'Post',
69
- 'Taxonomy',
70
- 'Theme',
71
- 'User',
72
- 'Widget',
 
 
 
 
 
 
73
  );
 
74
  return array_combine( $opts, $opts );
75
  }
76
 
77
  public function get_actions() {
78
- $opts = array(
79
- 'created',
80
- 'deleted',
81
- 'updated',
82
- 'added',
83
- 'activated',
84
- 'deactivated',
85
- 'accessed',
86
- 'file_updated',
87
- 'logged_in',
88
- 'logged_out',
89
- 'wrong_password',
 
 
 
 
 
 
 
 
 
 
90
  );
91
  $ready = array();
92
 
59
  }
60
 
61
  public function get_object_types() {
62
+ // TODO: It's need to be integration from the plugin
63
+ $opts = apply_filters(
64
+ 'aal_notification_get_object_types',
65
+ array(
66
+ 'Core',
67
+ 'Export',
68
+ 'Post',
69
+ 'Taxonomy',
70
+ 'User',
71
+ 'Options',
72
+ 'Attachment',
73
+ 'Plugin',
74
+ 'Widget',
75
+ 'Theme',
76
+ 'Menu',
77
+ 'Comments',
78
+ )
79
  );
80
+
81
  return array_combine( $opts, $opts );
82
  }
83
 
84
  public function get_actions() {
85
+ // TODO: It's need to be integration from the plugin
86
+ $opts = apply_filters(
87
+ 'aal_notification_get_actions',
88
+ array(
89
+ 'created',
90
+ 'deleted',
91
+ 'updated',
92
+ 'trashed',
93
+ 'untrashed',
94
+ 'spammed',
95
+ 'unspammed',
96
+ 'downloaded',
97
+ 'installed',
98
+ 'added',
99
+ 'activated',
100
+ 'deactivated',
101
+ 'accessed',
102
+ 'file_updated',
103
+ 'logged_in',
104
+ 'logged_out',
105
+ 'wrong_password',
106
+ )
107
  );
108
  $ready = array();
109
 
language/aryo-aal.pot CHANGED
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: aryo-activity-log 2.2.5\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2015-08-20 14:17+0300\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,7 +17,7 @@ msgstr ""
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
- #: aryo-activity-log.php:110 aryo-activity-log.php:121
21
  msgid "Cheatin&#8217; huh?"
22
  msgstr ""
23
 
@@ -53,65 +53,65 @@ msgstr ""
53
  msgid "Description"
54
  msgstr ""
55
 
56
- #: classes/class-aal-activity-log-list-table.php:141
57
  #, php-format
58
  msgid "%s ago"
59
  msgstr ""
60
 
61
- #: classes/class-aal-activity-log-list-table.php:170
62
  msgid "Unknown"
63
  msgstr ""
64
 
65
- #: classes/class-aal-activity-log-list-table.php:176
66
- #: classes/class-aal-activity-log-list-table.php:295
67
  msgid "Guest"
68
  msgstr ""
69
 
70
- #: classes/class-aal-activity-log-list-table.php:219
71
  msgid "All"
72
  msgstr ""
73
 
74
- #: classes/class-aal-activity-log-list-table.php:239
75
  msgid "Search"
76
  msgstr ""
77
 
78
- #: classes/class-aal-activity-log-list-table.php:282
79
  msgid "All Roles"
80
  msgstr ""
81
 
82
- #: classes/class-aal-activity-log-list-table.php:306
83
  msgid "All Users"
84
  msgstr ""
85
 
86
- #: classes/class-aal-activity-log-list-table.php:334
87
  msgid "All Types"
88
  msgstr ""
89
 
90
- #: classes/class-aal-activity-log-list-table.php:360
91
  msgid "All Actions"
92
  msgstr ""
93
 
94
- #: classes/class-aal-activity-log-list-table.php:371
95
  msgid "All Time"
96
  msgstr ""
97
 
98
- #: classes/class-aal-activity-log-list-table.php:372
99
  msgid "Today"
100
  msgstr ""
101
 
102
- #: classes/class-aal-activity-log-list-table.php:373
103
  msgid "Yesterday"
104
  msgstr ""
105
 
106
- #: classes/class-aal-activity-log-list-table.php:374
107
  msgid "Week"
108
  msgstr ""
109
 
110
- #: classes/class-aal-activity-log-list-table.php:375
111
  msgid "Month"
112
  msgstr ""
113
 
114
- #: classes/class-aal-activity-log-list-table.php:382
115
  msgid "Filter"
116
  msgstr ""
117
 
@@ -139,7 +139,7 @@ msgid ""
139
  "from this page."
140
  msgstr ""
141
 
142
- #: classes/class-aal-notifications.php:273
143
  msgid "The AAL notification handler you are trying to register does not exist."
144
  msgstr ""
145
 
@@ -327,323 +327,327 @@ msgstr ""
327
  msgid "installed"
328
  msgstr ""
329
 
330
- #: language/strings.php:34
331
- msgid "Theme"
332
  msgstr ""
333
 
334
  #: language/strings.php:35
 
 
 
 
335
  msgid "Theme Customizer"
336
  msgstr ""
337
 
338
- #: language/strings.php:38
339
  msgid "Widget"
340
  msgstr ""
341
 
342
- #: language/strings.php:41
343
  msgid "Options"
344
  msgstr ""
345
 
346
- #: language/strings.php:44
347
  msgid "Menu"
348
  msgstr ""
349
 
350
- #: language/strings.php:47
351
  msgid "Taxonomy"
352
  msgstr ""
353
 
354
- #: language/strings.php:50
355
  msgid "Core"
356
  msgstr ""
357
 
358
- #: language/strings.php:51
359
  msgid "WordPress Updated"
360
  msgstr ""
361
 
362
- #: language/strings.php:52
363
  msgid "WordPress Auto Updated"
364
  msgstr ""
365
 
366
- #: language/strings.php:55
367
  msgid "Comments"
368
  msgstr ""
369
 
370
- #: language/strings.php:56
371
  msgid "pending"
372
  msgstr ""
373
 
374
- #: language/strings.php:57
375
  msgid "approved"
376
  msgstr ""
377
 
378
- #: language/strings.php:58
379
  msgid "unapproved"
380
  msgstr ""
381
 
382
- #: language/strings.php:59
383
  msgid "trashed"
384
  msgstr ""
385
 
386
- #: language/strings.php:60
387
  msgid "untrashed"
388
  msgstr ""
389
 
390
- #: language/strings.php:61
391
  msgid "spammed"
392
  msgstr ""
393
 
394
- #: language/strings.php:62
395
  msgid "unspammed"
396
  msgstr ""
397
 
398
- #: language/strings.php:67
399
  msgid "blogname"
400
  msgstr ""
401
 
402
- #: language/strings.php:68
403
  msgid "blogdescription"
404
  msgstr ""
405
 
406
- #: language/strings.php:69
407
  msgid "siteurl"
408
  msgstr ""
409
 
410
- #: language/strings.php:70
411
  msgid "home"
412
  msgstr ""
413
 
414
- #: language/strings.php:71
415
  msgid "admin_email"
416
  msgstr ""
417
 
418
- #: language/strings.php:72
419
  msgid "users_can_register"
420
  msgstr ""
421
 
422
- #: language/strings.php:73
423
  msgid "default_role"
424
  msgstr ""
425
 
426
- #: language/strings.php:74
427
  msgid "timezone_string"
428
  msgstr ""
429
 
430
- #: language/strings.php:75
431
  msgid "date_format"
432
  msgstr ""
433
 
434
- #: language/strings.php:76
435
  msgid "time_format"
436
  msgstr ""
437
 
438
- #: language/strings.php:77
439
  msgid "start_of_week"
440
  msgstr ""
441
 
442
- #: language/strings.php:80
443
  msgid "use_smilies"
444
  msgstr ""
445
 
446
- #: language/strings.php:81
447
  msgid "use_balanceTags"
448
  msgstr ""
449
 
450
- #: language/strings.php:82
451
  msgid "default_category"
452
  msgstr ""
453
 
454
- #: language/strings.php:83
455
  msgid "default_post_format"
456
  msgstr ""
457
 
458
- #: language/strings.php:84
459
  msgid "mailserver_url"
460
  msgstr ""
461
 
462
- #: language/strings.php:85
463
  msgid "mailserver_login"
464
  msgstr ""
465
 
466
- #: language/strings.php:86
467
  msgid "mailserver_pass"
468
  msgstr ""
469
 
470
- #: language/strings.php:87
471
  msgid "default_email_category"
472
  msgstr ""
473
 
474
- #: language/strings.php:88
475
  msgid "ping_sites"
476
  msgstr ""
477
 
478
- #: language/strings.php:91
479
  msgid "show_on_front"
480
  msgstr ""
481
 
482
- #: language/strings.php:92
483
  msgid "page_on_front"
484
  msgstr ""
485
 
486
- #: language/strings.php:93
487
  msgid "page_for_posts"
488
  msgstr ""
489
 
490
- #: language/strings.php:94
491
  msgid "posts_per_page"
492
  msgstr ""
493
 
494
- #: language/strings.php:95
495
  msgid "posts_per_rss"
496
  msgstr ""
497
 
498
- #: language/strings.php:96
499
  msgid "rss_use_excerpt"
500
  msgstr ""
501
 
502
- #: language/strings.php:97
503
  msgid "blog_public"
504
  msgstr ""
505
 
506
- #: language/strings.php:100
507
  msgid "default_pingback_flag"
508
  msgstr ""
509
 
510
- #: language/strings.php:101
511
  msgid "default_ping_status"
512
  msgstr ""
513
 
514
- #: language/strings.php:102
515
  msgid "default_comment_status"
516
  msgstr ""
517
 
518
- #: language/strings.php:103
519
  msgid "require_name_email"
520
  msgstr ""
521
 
522
- #: language/strings.php:104
523
  msgid "comment_registration"
524
  msgstr ""
525
 
526
- #: language/strings.php:105
527
  msgid "close_comments_for_old_posts"
528
  msgstr ""
529
 
530
- #: language/strings.php:106
531
  msgid "close_comments_days_old"
532
  msgstr ""
533
 
534
- #: language/strings.php:107
535
  msgid "thread_comments"
536
  msgstr ""
537
 
538
- #: language/strings.php:108
539
  msgid "thread_comments_depth"
540
  msgstr ""
541
 
542
- #: language/strings.php:109
543
  msgid "page_comments"
544
  msgstr ""
545
 
546
- #: language/strings.php:110
547
  msgid "comments_per_page"
548
  msgstr ""
549
 
550
- #: language/strings.php:111
551
  msgid "default_comments_page"
552
  msgstr ""
553
 
554
- #: language/strings.php:112
555
  msgid "comment_order"
556
  msgstr ""
557
 
558
- #: language/strings.php:113
559
  msgid "comments_notify"
560
  msgstr ""
561
 
562
- #: language/strings.php:114
563
  msgid "moderation_notify"
564
  msgstr ""
565
 
566
- #: language/strings.php:115
567
  msgid "comment_moderation"
568
  msgstr ""
569
 
570
- #: language/strings.php:116
571
  msgid "comment_whitelist"
572
  msgstr ""
573
 
574
- #: language/strings.php:117
575
  msgid "comment_max_links"
576
  msgstr ""
577
 
578
- #: language/strings.php:118
579
  msgid "moderation_keys"
580
  msgstr ""
581
 
582
- #: language/strings.php:119
583
  msgid "blacklist_keys"
584
  msgstr ""
585
 
586
- #: language/strings.php:120
587
  msgid "show_avatars"
588
  msgstr ""
589
 
590
- #: language/strings.php:121
591
  msgid "avatar_rating"
592
  msgstr ""
593
 
594
- #: language/strings.php:122
595
  msgid "avatar_default"
596
  msgstr ""
597
 
598
- #: language/strings.php:125
599
  msgid "thumbnail_size_w"
600
  msgstr ""
601
 
602
- #: language/strings.php:126
603
  msgid "thumbnail_size_h"
604
  msgstr ""
605
 
606
- #: language/strings.php:127
607
  msgid "thumbnail_crop"
608
  msgstr ""
609
 
610
- #: language/strings.php:128
611
  msgid "medium_size_w"
612
  msgstr ""
613
 
614
- #: language/strings.php:129
615
  msgid "medium_size_h"
616
  msgstr ""
617
 
618
- #: language/strings.php:130
619
  msgid "large_size_w"
620
  msgstr ""
621
 
622
- #: language/strings.php:131
623
  msgid "large_size_h"
624
  msgstr ""
625
 
626
- #: language/strings.php:132
627
  msgid "uploads_use_yearmonth_folders"
628
  msgstr ""
629
 
630
- #: language/strings.php:135
631
  msgid "permalink_structure"
632
  msgstr ""
633
 
634
- #: language/strings.php:136
635
  msgid "category_base"
636
  msgstr ""
637
 
638
- #: language/strings.php:137
639
  msgid "tag_base"
640
  msgstr ""
641
 
642
- #: language/strings.php:140
643
  msgid "Export"
644
  msgstr ""
645
 
646
- #: language/strings.php:141
647
  msgid "downloaded"
648
  msgstr ""
649
 
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: aryo-activity-log 2.2.6\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2015-08-26 18:41+0300\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
+ #: aryo-activity-log.php:116 aryo-activity-log.php:127
21
  msgid "Cheatin&#8217; huh?"
22
  msgstr ""
23
 
53
  msgid "Description"
54
  msgstr ""
55
 
56
+ #: classes/class-aal-activity-log-list-table.php:142
57
  #, php-format
58
  msgid "%s ago"
59
  msgstr ""
60
 
61
+ #: classes/class-aal-activity-log-list-table.php:171
62
  msgid "Unknown"
63
  msgstr ""
64
 
65
+ #: classes/class-aal-activity-log-list-table.php:177
66
+ #: classes/class-aal-activity-log-list-table.php:296
67
  msgid "Guest"
68
  msgstr ""
69
 
70
+ #: classes/class-aal-activity-log-list-table.php:220
71
  msgid "All"
72
  msgstr ""
73
 
74
+ #: classes/class-aal-activity-log-list-table.php:240
75
  msgid "Search"
76
  msgstr ""
77
 
78
+ #: classes/class-aal-activity-log-list-table.php:283
79
  msgid "All Roles"
80
  msgstr ""
81
 
82
+ #: classes/class-aal-activity-log-list-table.php:307
83
  msgid "All Users"
84
  msgstr ""
85
 
86
+ #: classes/class-aal-activity-log-list-table.php:335
87
  msgid "All Types"
88
  msgstr ""
89
 
90
+ #: classes/class-aal-activity-log-list-table.php:361
91
  msgid "All Actions"
92
  msgstr ""
93
 
94
+ #: classes/class-aal-activity-log-list-table.php:372
95
  msgid "All Time"
96
  msgstr ""
97
 
98
+ #: classes/class-aal-activity-log-list-table.php:373
99
  msgid "Today"
100
  msgstr ""
101
 
102
+ #: classes/class-aal-activity-log-list-table.php:374
103
  msgid "Yesterday"
104
  msgstr ""
105
 
106
+ #: classes/class-aal-activity-log-list-table.php:375
107
  msgid "Week"
108
  msgstr ""
109
 
110
+ #: classes/class-aal-activity-log-list-table.php:376
111
  msgid "Month"
112
  msgstr ""
113
 
114
+ #: classes/class-aal-activity-log-list-table.php:383
115
  msgid "Filter"
116
  msgstr ""
117
 
139
  "from this page."
140
  msgstr ""
141
 
142
+ #: classes/class-aal-notifications.php:290
143
  msgid "The AAL notification handler you are trying to register does not exist."
144
  msgstr ""
145
 
327
  msgid "installed"
328
  msgstr ""
329
 
330
+ #: language/strings.php:32
331
+ msgid "File Updated"
332
  msgstr ""
333
 
334
  #: language/strings.php:35
335
+ msgid "Theme"
336
+ msgstr ""
337
+
338
+ #: language/strings.php:36
339
  msgid "Theme Customizer"
340
  msgstr ""
341
 
342
+ #: language/strings.php:39
343
  msgid "Widget"
344
  msgstr ""
345
 
346
+ #: language/strings.php:42
347
  msgid "Options"
348
  msgstr ""
349
 
350
+ #: language/strings.php:45
351
  msgid "Menu"
352
  msgstr ""
353
 
354
+ #: language/strings.php:48
355
  msgid "Taxonomy"
356
  msgstr ""
357
 
358
+ #: language/strings.php:51
359
  msgid "Core"
360
  msgstr ""
361
 
362
+ #: language/strings.php:52
363
  msgid "WordPress Updated"
364
  msgstr ""
365
 
366
+ #: language/strings.php:53
367
  msgid "WordPress Auto Updated"
368
  msgstr ""
369
 
370
+ #: language/strings.php:56
371
  msgid "Comments"
372
  msgstr ""
373
 
374
+ #: language/strings.php:57
375
  msgid "pending"
376
  msgstr ""
377
 
378
+ #: language/strings.php:58
379
  msgid "approved"
380
  msgstr ""
381
 
382
+ #: language/strings.php:59
383
  msgid "unapproved"
384
  msgstr ""
385
 
386
+ #: language/strings.php:60
387
  msgid "trashed"
388
  msgstr ""
389
 
390
+ #: language/strings.php:61
391
  msgid "untrashed"
392
  msgstr ""
393
 
394
+ #: language/strings.php:62
395
  msgid "spammed"
396
  msgstr ""
397
 
398
+ #: language/strings.php:63
399
  msgid "unspammed"
400
  msgstr ""
401
 
402
+ #: language/strings.php:68
403
  msgid "blogname"
404
  msgstr ""
405
 
406
+ #: language/strings.php:69
407
  msgid "blogdescription"
408
  msgstr ""
409
 
410
+ #: language/strings.php:70
411
  msgid "siteurl"
412
  msgstr ""
413
 
414
+ #: language/strings.php:71
415
  msgid "home"
416
  msgstr ""
417
 
418
+ #: language/strings.php:72
419
  msgid "admin_email"
420
  msgstr ""
421
 
422
+ #: language/strings.php:73
423
  msgid "users_can_register"
424
  msgstr ""
425
 
426
+ #: language/strings.php:74
427
  msgid "default_role"
428
  msgstr ""
429
 
430
+ #: language/strings.php:75
431
  msgid "timezone_string"
432
  msgstr ""
433
 
434
+ #: language/strings.php:76
435
  msgid "date_format"
436
  msgstr ""
437
 
438
+ #: language/strings.php:77
439
  msgid "time_format"
440
  msgstr ""
441
 
442
+ #: language/strings.php:78
443
  msgid "start_of_week"
444
  msgstr ""
445
 
446
+ #: language/strings.php:81
447
  msgid "use_smilies"
448
  msgstr ""
449
 
450
+ #: language/strings.php:82
451
  msgid "use_balanceTags"
452
  msgstr ""
453
 
454
+ #: language/strings.php:83
455
  msgid "default_category"
456
  msgstr ""
457
 
458
+ #: language/strings.php:84
459
  msgid "default_post_format"
460
  msgstr ""
461
 
462
+ #: language/strings.php:85
463
  msgid "mailserver_url"
464
  msgstr ""
465
 
466
+ #: language/strings.php:86
467
  msgid "mailserver_login"
468
  msgstr ""
469
 
470
+ #: language/strings.php:87
471
  msgid "mailserver_pass"
472
  msgstr ""
473
 
474
+ #: language/strings.php:88
475
  msgid "default_email_category"
476
  msgstr ""
477
 
478
+ #: language/strings.php:89
479
  msgid "ping_sites"
480
  msgstr ""
481
 
482
+ #: language/strings.php:92
483
  msgid "show_on_front"
484
  msgstr ""
485
 
486
+ #: language/strings.php:93
487
  msgid "page_on_front"
488
  msgstr ""
489
 
490
+ #: language/strings.php:94
491
  msgid "page_for_posts"
492
  msgstr ""
493
 
494
+ #: language/strings.php:95
495
  msgid "posts_per_page"
496
  msgstr ""
497
 
498
+ #: language/strings.php:96
499
  msgid "posts_per_rss"
500
  msgstr ""
501
 
502
+ #: language/strings.php:97
503
  msgid "rss_use_excerpt"
504
  msgstr ""
505
 
506
+ #: language/strings.php:98
507
  msgid "blog_public"
508
  msgstr ""
509
 
510
+ #: language/strings.php:101
511
  msgid "default_pingback_flag"
512
  msgstr ""
513
 
514
+ #: language/strings.php:102
515
  msgid "default_ping_status"
516
  msgstr ""
517
 
518
+ #: language/strings.php:103
519
  msgid "default_comment_status"
520
  msgstr ""
521
 
522
+ #: language/strings.php:104
523
  msgid "require_name_email"
524
  msgstr ""
525
 
526
+ #: language/strings.php:105
527
  msgid "comment_registration"
528
  msgstr ""
529
 
530
+ #: language/strings.php:106
531
  msgid "close_comments_for_old_posts"
532
  msgstr ""
533
 
534
+ #: language/strings.php:107
535
  msgid "close_comments_days_old"
536
  msgstr ""
537
 
538
+ #: language/strings.php:108
539
  msgid "thread_comments"
540
  msgstr ""
541
 
542
+ #: language/strings.php:109
543
  msgid "thread_comments_depth"
544
  msgstr ""
545
 
546
+ #: language/strings.php:110
547
  msgid "page_comments"
548
  msgstr ""
549
 
550
+ #: language/strings.php:111
551
  msgid "comments_per_page"
552
  msgstr ""
553
 
554
+ #: language/strings.php:112
555
  msgid "default_comments_page"
556
  msgstr ""
557
 
558
+ #: language/strings.php:113
559
  msgid "comment_order"
560
  msgstr ""
561
 
562
+ #: language/strings.php:114
563
  msgid "comments_notify"
564
  msgstr ""
565
 
566
+ #: language/strings.php:115
567
  msgid "moderation_notify"
568
  msgstr ""
569
 
570
+ #: language/strings.php:116
571
  msgid "comment_moderation"
572
  msgstr ""
573
 
574
+ #: language/strings.php:117
575
  msgid "comment_whitelist"
576
  msgstr ""
577
 
578
+ #: language/strings.php:118
579
  msgid "comment_max_links"
580
  msgstr ""
581
 
582
+ #: language/strings.php:119
583
  msgid "moderation_keys"
584
  msgstr ""
585
 
586
+ #: language/strings.php:120
587
  msgid "blacklist_keys"
588
  msgstr ""
589
 
590
+ #: language/strings.php:121
591
  msgid "show_avatars"
592
  msgstr ""
593
 
594
+ #: language/strings.php:122
595
  msgid "avatar_rating"
596
  msgstr ""
597
 
598
+ #: language/strings.php:123
599
  msgid "avatar_default"
600
  msgstr ""
601
 
602
+ #: language/strings.php:126
603
  msgid "thumbnail_size_w"
604
  msgstr ""
605
 
606
+ #: language/strings.php:127
607
  msgid "thumbnail_size_h"
608
  msgstr ""
609
 
610
+ #: language/strings.php:128
611
  msgid "thumbnail_crop"
612
  msgstr ""
613
 
614
+ #: language/strings.php:129
615
  msgid "medium_size_w"
616
  msgstr ""
617
 
618
+ #: language/strings.php:130
619
  msgid "medium_size_h"
620
  msgstr ""
621
 
622
+ #: language/strings.php:131
623
  msgid "large_size_w"
624
  msgstr ""
625
 
626
+ #: language/strings.php:132
627
  msgid "large_size_h"
628
  msgstr ""
629
 
630
+ #: language/strings.php:133
631
  msgid "uploads_use_yearmonth_folders"
632
  msgstr ""
633
 
634
+ #: language/strings.php:136
635
  msgid "permalink_structure"
636
  msgstr ""
637
 
638
+ #: language/strings.php:137
639
  msgid "category_base"
640
  msgstr ""
641
 
642
+ #: language/strings.php:138
643
  msgid "tag_base"
644
  msgstr ""
645
 
646
+ #: language/strings.php:141
647
  msgid "Export"
648
  msgstr ""
649
 
650
+ #: language/strings.php:142
651
  msgid "downloaded"
652
  msgstr ""
653
 
language/strings.php CHANGED
@@ -29,6 +29,7 @@ __( 'Plugin', 'aryo-aal' );
29
  __( 'activated', 'aryo-aal' );
30
  __( 'deactivated', 'aryo-aal' );
31
  __( 'installed', 'aryo-aal' );
 
32
 
33
  // Theme
34
  __( 'Theme', 'aryo-aal' );
29
  __( 'activated', 'aryo-aal' );
30
  __( 'deactivated', 'aryo-aal' );
31
  __( 'installed', 'aryo-aal' );
32
+ __( 'File Updated', 'aryo-aal' );
33
 
34
  // Theme
35
  __( 'Theme', 'aryo-aal' );
notifications/abstract-class-aal-notification-base.php CHANGED
@@ -22,6 +22,10 @@ abstract class AAL_Notification_Base {
22
  add_action( 'init', array( &$this, 'init' ), 30 );
23
  add_action( 'aal_validate_options', array( &$this, '_validate_options' ), 10, 2 );
24
  }
 
 
 
 
25
 
26
  public function init() {}
27
 
@@ -78,10 +82,6 @@ abstract class AAL_Notification_Base {
78
  return $form_data;
79
  }
80
 
81
- private function settings_field_name_attr( $name ) {
82
- return esc_attr( "notification_handler_options_{$this->id}[{$name}]" );
83
- }
84
-
85
  public function get_handler_options() {
86
  $handler_options = array();
87
  $option_key = "handler_options_{$this->id}";
22
  add_action( 'init', array( &$this, 'init' ), 30 );
23
  add_action( 'aal_validate_options', array( &$this, '_validate_options' ), 10, 2 );
24
  }
25
+
26
+ private function settings_field_name_attr( $name ) {
27
+ return esc_attr( "notification_handler_options_{$this->id}[{$name}]" );
28
+ }
29
 
30
  public function init() {}
31
 
82
  return $form_data;
83
  }
84
 
 
 
 
 
85
  public function get_handler_options() {
86
  $handler_options = array();
87
  $option_key = "handler_options_{$this->id}";
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pojo.me, KingYes, ariel.k, maor
3
  Tags: administration, activity, event, monitor, multisite, multi-users, log, logger, audit log, stats, security, tracking, woocommerce, notifications, email notifications
4
  Requires at least: 3.5
5
  Tested up to: 4.3
6
- Stable tag: 2.2.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.
@@ -96,6 +96,10 @@ Would you like to like to contribute to Activity Log? You are more than welcome
96
 
97
  == Changelog ==
98
 
 
 
 
 
99
  = 2.2.5 =
100
  * New! - Added translate: Finnish (fi) - Thanks to Nazq ([topic](https://wordpress.org/support/topic/finnish-translation-1))
101
  * Tweak! - Better actions label in list table
3
  Tags: administration, activity, event, monitor, multisite, multi-users, log, logger, audit log, stats, security, tracking, woocommerce, notifications, email notifications
4
  Requires at least: 3.5
5
  Tested up to: 4.3
6
+ Stable tag: 2.2.6
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.
96
 
97
  == Changelog ==
98
 
99
+ = 2.2.6 =
100
+ * Tweak! - Added sort by IP address ([#77](https://github.com/KingYes/wordpress-aryo-activity-log/issues/77))
101
+ * Tweak! - Added more actions/types in notification
102
+
103
  = 2.2.5 =
104
  * New! - Added translate: Finnish (fi) - Thanks to Nazq ([topic](https://wordpress.org/support/topic/finnish-translation-1))
105
  * Tweak! - Better actions label in list table