Email Log - Version 2.4.0

Version Description

Download this release

Release Info

Developer sudar
Plugin Icon 128x128 Email Log
Version 2.4.0
Comparing to
See all releases

Code changes from version 2.3.2 to 2.4.0

assets/css/admin/addon-list.css CHANGED
@@ -1,66 +1,23 @@
1
- .el-container {
2
- width: 100%;
 
 
3
  }
4
 
5
  .el-addon {
6
  background: #FFF;
7
  border: 1px solid #ccc;
8
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
9
- padding: 1%;
10
- margin-bottom: 2%;
11
  }
12
 
13
- .el-container .disabled {
14
- cursor: not-allowed !important;
15
- }
16
-
17
- @media screen and (max-width:989px) {
18
- .el-addon {
19
- float: none;
20
- width: 95%;
21
- }
22
-
23
- .el-addon img {
24
- height: auto;
25
- width: 100%;
26
- }
27
- }
28
-
29
- @media screen and (min-width:990px) and (max-width:1274px) {
30
- .el-addon {
31
- float: left;
32
- width: 45%;
33
- }
34
-
35
- .el-addon img {
36
- height: auto;
37
- width: 100%;
38
- }
39
-
40
- .el-addon:nth-child(even) {
41
- margin-left: 1%;
42
- }
43
  }
44
 
45
- @media screen and (min-width:1275px) {
46
- .el-addon {
47
- float: left;
48
- width: 30%;
49
- }
50
-
51
- .el-addon img {
52
- height: auto;
53
- width: 100%;
54
- }
55
-
56
- .el-addon:nth-child(3n-1) {
57
- margin-left: 1.5%;
58
- margin-right: 1.5%;
59
- }
60
-
61
- .el-addon:nth-child(3n+1) {
62
- clear: both;
63
- }
64
  }
65
 
66
  .bundle-license {
@@ -76,8 +33,11 @@
76
  font-size: 1.7em;
77
  }
78
 
79
- .bundle-license .button {
80
- margin-top: 2px;
 
 
 
81
  }
82
 
83
  .bundle-license .expires {
@@ -89,9 +49,23 @@
89
  padding-top: 10px;
90
  }
91
 
 
 
 
 
 
 
 
 
92
  .el-expander {
93
  float: right;
94
  font-size: 40px;
95
  margin-top: -5px;
96
  margin-right: 10px;
97
  }
 
 
 
 
 
 
1
+ .el-addon-list {
2
+ display: grid;
3
+ grid-gap: 10px;
4
+ grid-template-columns: repeat(auto-fit, 350px);
5
  }
6
 
7
  .el-addon {
8
  background: #FFF;
9
  border: 1px solid #ccc;
10
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
11
+ padding: 10px;
 
12
  }
13
 
14
+ .el-addon-image,
15
+ .individual-license .el-license {
16
+ width: 330px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
 
19
+ .el-addon-list .disabled {
20
+ cursor: not-allowed !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
 
23
  .bundle-license {
33
  font-size: 1.7em;
34
  }
35
 
36
+ .bundle-license .el-license,
37
+ .bundle-license .button,
38
+ .individual-license .el-license,
39
+ .individual-license .button {
40
+ line-height: 2;
41
  }
42
 
43
  .bundle-license .expires {
49
  padding-top: 10px;
50
  }
51
 
52
+ .individual-license .el-license {
53
+ padding-left: 10px;
54
+ }
55
+
56
+ .individual-license .button {
57
+ margin-top: 10px;
58
+ }
59
+
60
  .el-expander {
61
  float: right;
62
  font-size: 40px;
63
  margin-top: -5px;
64
  margin-right: 10px;
65
  }
66
+
67
+ @media screen and (max-width: 782px) {
68
+ .bundle-license .el-license, .bundle-license .button {
69
+ font-size: 0.8em;
70
+ }
71
+ }
assets/css/admin/view-logs.css CHANGED
@@ -8,7 +8,7 @@
8
  margin-top: 10px;
9
  }
10
 
11
- .tabs-text-textarea {
12
  height: 100%;
13
  width: 100%;
14
  }
8
  margin-top: 10px;
9
  }
10
 
11
+ .tabs-text-pre {
12
  height: 100%;
13
  width: 100%;
14
  }
assets/js/admin/view-logs.js CHANGED
@@ -11,6 +11,22 @@
11
  event.preventDefault();
12
  tb_remove();
13
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  });
15
 
16
  var tabsInsertedEvent = 'tabs_elem_inserted';
@@ -19,8 +35,11 @@
19
  $( element ).trigger( tabsInsertedEvent )
20
  });
21
 
22
- $( document ).on( tabsInsertedEvent, function () {
23
- $( '#tabs' ).tabs( { active: 1 } );
24
- });
 
 
 
25
 
26
- })( jQuery );
11
  event.preventDefault();
12
  tb_remove();
13
  });
14
+
15
+ // Sent status tool tip.
16
+ $( ".el-help" ).tooltip( {
17
+ content: function() { return $( this ).prop( "title" ); },
18
+ position: {
19
+ my: "center top",
20
+ at: "center bottom+10",
21
+ collision: "flipfit"
22
+ },
23
+ hide: {
24
+ duration: 100
25
+ },
26
+ show: {
27
+ duration: 100
28
+ }
29
+ });
30
  });
31
 
32
  var tabsInsertedEvent = 'tabs_elem_inserted';
35
  $( element ).trigger( tabsInsertedEvent )
36
  });
37
 
38
+ $( document ).on( tabsInsertedEvent, function() {
39
+ var activeTabIndex = parseInt( $( "#tabs ul" ).data( "active-tab" ) );
40
+
41
+ activeTabIndex = isNaN( activeTabIndex ) ? 1 : activeTabIndex;
42
+ $( "#tabs" ).tabs( { active: activeTabIndex } );
43
+ } );
44
 
45
+ })( jQuery );
data/products.json CHANGED
@@ -6,7 +6,7 @@
6
  "slug": "more-fields",
7
  "title": "More Fields",
8
  "create_date": "2017-03-07 11:50:43",
9
- "modified_date": "2018-02-13 14:48:45",
10
  "status": "publish",
11
  "link": "http:\/\/wpemaillog.com\/?post_type=download&p=18",
12
  "content": "More Fields add-on shows additional fields about the email in the email log list page. The following are the additional fields that are added by this add-on.\r\n<ul>\r\n \t<li>From<\/li>\r\n \t<li>CC<\/li>\r\n \t<li>BCC<\/li>\r\n \t<li>Reply To<\/li>\r\n \t<li>Attachment<\/li>\r\n<\/ul>\r\nThese additional fields will allow you to see more information about the logged email.\r\n<h3>Screenshots<\/h3>\r\n[gallery columns=\"2\" ids=\"974,975\"]",
@@ -28,7 +28,7 @@
28
  ],
29
  "tags": false,
30
  "permalink": "https:\/\/wpemaillog.com\/addons\/more-fields\/",
31
- "version": "2.0.1"
32
  },
33
  "pricing": {
34
  "singlesite": "19.00",
@@ -37,7 +37,7 @@
37
  },
38
  "licensing": {
39
  "enabled": true,
40
- "version": "2.0.1",
41
  "exp_unit": "years",
42
  "exp_length": "1"
43
  }
@@ -48,7 +48,7 @@
48
  "slug": "resend-email",
49
  "title": "Resend Email",
50
  "create_date": "2017-03-07 11:40:25",
51
- "modified_date": "2019-03-17 18:45:17",
52
  "status": "publish",
53
  "link": "http:\/\/wpemaillog.com\/?post_type=download&p=16",
54
  "content": "Resend Email add-on allows you to resend the entire email directly from the email log. Before re-sending the email, this\u00a0add-on allows you to modify the different fields before re-sending the email.\r\n\r\nYou can also resend all emails or only selected emails in bulk in addition to individually re-sending them.\r\n<h3>Screenshots<\/h3>\r\n[gallery ids=\"980,981,982,983,984\"]",
@@ -70,7 +70,7 @@
70
  ],
71
  "tags": false,
72
  "permalink": "https:\/\/wpemaillog.com\/addons\/resend-email\/",
73
- "version": "2.1.2"
74
  },
75
  "pricing": {
76
  "singlesite": "19.00",
@@ -79,23 +79,23 @@
79
  },
80
  "licensing": {
81
  "enabled": true,
82
- "version": "2.1.2",
83
  "exp_unit": "years",
84
  "exp_length": "1"
85
  }
86
  },
87
  {
88
  "info": {
89
- "id": 20,
90
- "slug": "forward-email",
91
- "title": "Forward Email",
92
  "create_date": "2017-03-07 11:30:56",
93
- "modified_date": "2018-02-13 14:50:29",
94
  "status": "publish",
95
- "link": "http:\/\/wpemaillog.com\/?post_type=download&p=20",
96
- "content": "Forward Email add-on allows you to send a copy of all the emails send from WordPress, to another email address. The add-on allows you to choose whether you want to forward through to, cc or bcc fields. This can be extremely useful when you want to debug by analyzing the emails that are sent from WordPress.\r\n<h3>Screenshots<\/h3>\r\n[gallery ids=\"987,988,989\"]",
97
- "excerpt": "Forward Email add-on allows you to send a copy of all the emails send from WordPress, to another email address",
98
- "thumbnail": "https:\/\/wpemaillog.com\/wp-content\/uploads\/edd\/2016\/11\/forward-email-addon.png",
99
  "category": [
100
  {
101
  "term_id": 4,
@@ -111,8 +111,8 @@
111
  }
112
  ],
113
  "tags": false,
114
- "permalink": "https:\/\/wpemaillog.com\/addons\/forward-email\/",
115
- "version": "2.0.1"
116
  },
117
  "pricing": {
118
  "singlesite": "19.00",
@@ -121,23 +121,23 @@
121
  },
122
  "licensing": {
123
  "enabled": true,
124
- "version": "2.0.1",
125
  "exp_unit": "years",
126
  "exp_length": "1"
127
  }
128
  },
129
  {
130
  "info": {
131
- "id": 311,
132
- "slug": "auto-delete-logs",
133
- "title": "Auto Delete Logs",
134
  "create_date": "2017-03-07 11:30:56",
135
- "modified_date": "2019-01-03 18:15:51",
136
  "status": "publish",
137
- "link": "https:\/\/wpemaillog.com\/?post_type=download&p=311",
138
- "content": "The Auto Delete Logs add-on allows you to automatically delete logs based on a schedule.\r\n<h3>Screenshots<\/h3>\r\n[gallery columns=\"2\" ids=\"791182, 791183\"]",
139
- "excerpt": "The Auto Delete Logs add-on allows you to automatically delete logs based on a schedule.",
140
- "thumbnail": "https:\/\/wpemaillog.com\/wp-content\/uploads\/edd\/2017\/03\/delete-logs-addon.png",
141
  "category": [
142
  {
143
  "term_id": 4,
@@ -153,8 +153,8 @@
153
  }
154
  ],
155
  "tags": false,
156
- "permalink": "https:\/\/wpemaillog.com\/addons\/auto-delete-logs\/",
157
- "version": "1.1.0"
158
  },
159
  "pricing": {
160
  "singlesite": "19.00",
@@ -163,7 +163,7 @@
163
  },
164
  "licensing": {
165
  "enabled": true,
166
- "version": "1.1.0",
167
  "exp_unit": "years",
168
  "exp_length": "1"
169
  }
@@ -174,7 +174,7 @@
174
  "slug": "export-logs",
175
  "title": "Export Logs",
176
  "create_date": "2017-03-07 11:20:12",
177
- "modified_date": "2019-04-11 10:47:40",
178
  "status": "publish",
179
  "link": "https:\/\/wpemaillog.com\/?post_type=download&p=308",
180
  "content": "Export Logs add-on allows you to export the logged email logs as a csv file. The exported logs can be used for further processing or for record keeping.\r\n<h3>Screenshots<\/h3>\r\n[gallery ids=\"965,966,967,968, 791221\"]",
@@ -196,7 +196,7 @@
196
  ],
197
  "tags": false,
198
  "permalink": "https:\/\/wpemaillog.com\/addons\/export-logs\/",
199
- "version": "1.2.1"
200
  },
201
  "pricing": {
202
  "singlesite": "19.00",
@@ -205,11 +205,11 @@
205
  },
206
  "licensing": {
207
  "enabled": true,
208
- "version": "1.2.1",
209
  "exp_unit": "years",
210
  "exp_length": "1"
211
  }
212
  }
213
  ],
214
- "request_speed": 0.00640106201171875
215
  }
6
  "slug": "more-fields",
7
  "title": "More Fields",
8
  "create_date": "2017-03-07 11:50:43",
9
+ "modified_date": "2020-07-05 11:31:48",
10
  "status": "publish",
11
  "link": "http:\/\/wpemaillog.com\/?post_type=download&p=18",
12
  "content": "More Fields add-on shows additional fields about the email in the email log list page. The following are the additional fields that are added by this add-on.\r\n<ul>\r\n \t<li>From<\/li>\r\n \t<li>CC<\/li>\r\n \t<li>BCC<\/li>\r\n \t<li>Reply To<\/li>\r\n \t<li>Attachment<\/li>\r\n<\/ul>\r\nThese additional fields will allow you to see more information about the logged email.\r\n<h3>Screenshots<\/h3>\r\n[gallery columns=\"2\" ids=\"974,975\"]",
28
  ],
29
  "tags": false,
30
  "permalink": "https:\/\/wpemaillog.com\/addons\/more-fields\/",
31
+ "version": "2.1.0"
32
  },
33
  "pricing": {
34
  "singlesite": "19.00",
37
  },
38
  "licensing": {
39
  "enabled": true,
40
+ "version": "2.1.0",
41
  "exp_unit": "years",
42
  "exp_length": "1"
43
  }
48
  "slug": "resend-email",
49
  "title": "Resend Email",
50
  "create_date": "2017-03-07 11:40:25",
51
+ "modified_date": "2020-05-22 13:44:15",
52
  "status": "publish",
53
  "link": "http:\/\/wpemaillog.com\/?post_type=download&p=16",
54
  "content": "Resend Email add-on allows you to resend the entire email directly from the email log. Before re-sending the email, this\u00a0add-on allows you to modify the different fields before re-sending the email.\r\n\r\nYou can also resend all emails or only selected emails in bulk in addition to individually re-sending them.\r\n<h3>Screenshots<\/h3>\r\n[gallery ids=\"980,981,982,983,984\"]",
70
  ],
71
  "tags": false,
72
  "permalink": "https:\/\/wpemaillog.com\/addons\/resend-email\/",
73
+ "version": "2.2.0"
74
  },
75
  "pricing": {
76
  "singlesite": "19.00",
79
  },
80
  "licensing": {
81
  "enabled": true,
82
+ "version": "2.2.0",
83
  "exp_unit": "years",
84
  "exp_length": "1"
85
  }
86
  },
87
  {
88
  "info": {
89
+ "id": 311,
90
+ "slug": "auto-delete-logs",
91
+ "title": "Auto Delete Logs",
92
  "create_date": "2017-03-07 11:30:56",
93
+ "modified_date": "2020-07-05 11:33:41",
94
  "status": "publish",
95
+ "link": "https:\/\/wpemaillog.com\/?post_type=download&p=311",
96
+ "content": "The Auto Delete Logs add-on allows you to automatically delete logs based on a schedule.\r\n<h3>Screenshots<\/h3>\r\n[gallery columns=\"2\" ids=\"791182, 791183\"]",
97
+ "excerpt": "The Auto Delete Logs add-on allows you to automatically delete logs based on a schedule.",
98
+ "thumbnail": "https:\/\/wpemaillog.com\/wp-content\/uploads\/edd\/2017\/03\/delete-logs-addon.png",
99
  "category": [
100
  {
101
  "term_id": 4,
111
  }
112
  ],
113
  "tags": false,
114
+ "permalink": "https:\/\/wpemaillog.com\/addons\/auto-delete-logs\/",
115
+ "version": "1.1.1"
116
  },
117
  "pricing": {
118
  "singlesite": "19.00",
121
  },
122
  "licensing": {
123
  "enabled": true,
124
+ "version": "1.1.1",
125
  "exp_unit": "years",
126
  "exp_length": "1"
127
  }
128
  },
129
  {
130
  "info": {
131
+ "id": 20,
132
+ "slug": "forward-email",
133
+ "title": "Forward Email",
134
  "create_date": "2017-03-07 11:30:56",
135
+ "modified_date": "2020-05-27 13:21:45",
136
  "status": "publish",
137
+ "link": "http:\/\/wpemaillog.com\/?post_type=download&p=20",
138
+ "content": "Forward Email add-on allows you to send a copy of all the emails send from WordPress, to another email address. The add-on allows you to choose whether you want to forward through to, cc or bcc fields. This can be extremely useful when you want to debug by analyzing the emails that are sent from WordPress.\r\n<h3>Screenshots<\/h3>\r\n[gallery ids=\"987,988,989\"]",
139
+ "excerpt": "Forward Email add-on allows you to send a copy of all the emails send from WordPress, to another email address",
140
+ "thumbnail": "https:\/\/wpemaillog.com\/wp-content\/uploads\/edd\/2016\/11\/forward-email-addon.png",
141
  "category": [
142
  {
143
  "term_id": 4,
153
  }
154
  ],
155
  "tags": false,
156
+ "permalink": "https:\/\/wpemaillog.com\/addons\/forward-email\/",
157
+ "version": "2.0.2"
158
  },
159
  "pricing": {
160
  "singlesite": "19.00",
163
  },
164
  "licensing": {
165
  "enabled": true,
166
+ "version": "2.0.2",
167
  "exp_unit": "years",
168
  "exp_length": "1"
169
  }
174
  "slug": "export-logs",
175
  "title": "Export Logs",
176
  "create_date": "2017-03-07 11:20:12",
177
+ "modified_date": "2020-07-05 11:34:53",
178
  "status": "publish",
179
  "link": "https:\/\/wpemaillog.com\/?post_type=download&p=308",
180
  "content": "Export Logs add-on allows you to export the logged email logs as a csv file. The exported logs can be used for further processing or for record keeping.\r\n<h3>Screenshots<\/h3>\r\n[gallery ids=\"965,966,967,968, 791221\"]",
196
  ],
197
  "tags": false,
198
  "permalink": "https:\/\/wpemaillog.com\/addons\/export-logs\/",
199
+ "version": "1.3.0"
200
  },
201
  "pricing": {
202
  "singlesite": "19.00",
205
  },
206
  "licensing": {
207
  "enabled": true,
208
+ "version": "1.3.0",
209
  "exp_unit": "years",
210
  "exp_length": "1"
211
  }
212
  }
213
  ],
214
+ "request_speed": 0.0055980682373046875
215
  }
email-log.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Logs every email sent through WordPress
6
  * Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
  * Author: Sudar
8
- * Version: 2.3.2
9
  * Author URI: http://sudarmuthu.com/
10
  * Text Domain: email-log
11
  * Domain Path: languages/
@@ -31,8 +31,10 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
31
  // Include the stub of the old `EmailLog` class, so that old add-ons don't generate a fatal error.
32
  require_once plugin_dir_path( __FILE__ ) . 'include/compatibility/EmailLog.php';
33
 
34
- if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
35
  /**
 
 
36
  * Version 2.0 of the Email Log plugin dropped support for PHP 5.2.
37
  * If you are still struck with PHP 5.2 and can't update, then use v1.9.1 of the plugin.
38
  * But note that some add-ons may not work.
@@ -46,7 +48,7 @@ if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
46
  <p>
47
  <?php
48
  printf(
49
- __( 'Email Log requires at least PHP 5.3 to function properly. Please upgrade PHP or use <a href="%s" target="_blank" rel="noopener">v1.9.1 of Email Log</a>.', 'email-log' ), // @codingStandardsIgnoreLine
50
  'https://downloads.wordpress.org/plugin/email-log.1.9.1.zip'
51
  );
52
  ?>
@@ -71,7 +73,7 @@ if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
71
  return;
72
  }
73
 
74
- // PHP is at least 5.3, so we can safely include namespace code.
75
  require_once 'load-email-log.php';
76
  load_email_log( __FILE__ );
77
 
5
  * Description: Logs every email sent through WordPress
6
  * Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
7
  * Author: Sudar
8
+ * Version: 2.4.0
9
  * Author URI: http://sudarmuthu.com/
10
  * Text Domain: email-log
11
  * Domain Path: languages/
31
  // Include the stub of the old `EmailLog` class, so that old add-ons don't generate a fatal error.
32
  require_once plugin_dir_path( __FILE__ ) . 'include/compatibility/EmailLog.php';
33
 
34
+ if ( version_compare( PHP_VERSION, '5.6.0', '<' ) ) {
35
  /**
36
+ * Version 2.4.0 of the Email Log plugin dropped support for PHP 5.3 to PHP 5.5.
37
+ *
38
  * Version 2.0 of the Email Log plugin dropped support for PHP 5.2.
39
  * If you are still struck with PHP 5.2 and can't update, then use v1.9.1 of the plugin.
40
  * But note that some add-ons may not work.
48
  <p>
49
  <?php
50
  printf(
51
+ __( 'Email Log requires at least PHP 5.6 to function properly. Please upgrade PHP or use <a href="%s" target="_blank" rel="noopener">v1.9.1 of Email Log</a>.', 'email-log' ), // @codingStandardsIgnoreLine
52
  'https://downloads.wordpress.org/plugin/email-log.1.9.1.zip'
53
  );
54
  ?>
73
  return;
74
  }
75
 
76
+ // PHP is at least 5.6, so we can safely include namespace code.
77
  require_once 'load-email-log.php';
78
  load_email_log( __FILE__ );
79
 
include/Addon/Addon.php CHANGED
@@ -65,8 +65,7 @@ class Addon {
65
 
66
  <a rel="noopener" target="_blank" href="<?php echo esc_url( $this->link ); ?>?utm_campaign=Upsell&utm_medium=wpadmin&utm_source=addon-grid&utm_content=<?php echo $this->name; ?>"
67
  title="<?php echo esc_attr( $this->name ); ?>">
68
- <img src="<?php echo esc_url( $this->thumbnail ); ?>" class="attachment-showcase wp-post-image"
69
- alt="<?php echo esc_attr( $this->name ); ?>" title="<?php echo esc_attr( $this->name ); ?>">
70
  </a>
71
 
72
  <p> <?php echo esc_html( $this->description ); ?> </p>
@@ -183,7 +182,7 @@ class Addon {
183
  */
184
  protected function render_individual_license() {
185
  $action = 'el_license_activate';
186
- $action_text = __( 'Activate', 'email-log' );
187
  $button_class = 'button-primary';
188
  $dashicon = 'down';
189
  $license_wrap = 'hidden';
@@ -191,7 +190,7 @@ class Addon {
191
 
192
  if ( $this->has_valid_addon_license() ) {
193
  $action = 'el_license_deactivate';
194
- $action_text = __( 'Deactivate', 'email-log' );
195
  $button_class = '';
196
  $dashicon = 'up';
197
  $license_wrap = '';
@@ -213,12 +212,12 @@ class Addon {
213
 
214
  <div class="individual-license <?php echo sanitize_html_class( $license_wrap ); ?>">
215
  <form method="post">
216
- <input type="text" name="el-license" class="el-license" size="33"
217
  title="<?php _e( 'Email Log License Key', 'email-log' ); ?>"
218
  placeholder="<?php echo esc_attr( sprintf( __( '%s Add-on License Key', 'email-log' ), $this->name ) ); ?>"
219
  value="<?php echo esc_attr( $this->get_addon_license_key() ); ?>">
220
 
221
- <input type="submit" class="button button-large <?php echo sanitize_html_class( $button_class ); ?>"
222
  value="<?php echo esc_attr( $action_text ); ?>">
223
 
224
  <p class="expires"><?php echo $expiry_details; ?></p>
65
 
66
  <a rel="noopener" target="_blank" href="<?php echo esc_url( $this->link ); ?>?utm_campaign=Upsell&utm_medium=wpadmin&utm_source=addon-grid&utm_content=<?php echo $this->name; ?>"
67
  title="<?php echo esc_attr( $this->name ); ?>">
68
+ <img src="<?php echo esc_url( $this->thumbnail ); ?>" class="el-addon-image" alt="<?php echo esc_attr( $this->name ); ?>" title="<?php echo esc_attr( $this->name ); ?>">
 
69
  </a>
70
 
71
  <p> <?php echo esc_html( $this->description ); ?> </p>
182
  */
183
  protected function render_individual_license() {
184
  $action = 'el_license_activate';
185
+ $action_text = __( 'Activate License', 'email-log' );
186
  $button_class = 'button-primary';
187
  $dashicon = 'down';
188
  $license_wrap = 'hidden';
190
 
191
  if ( $this->has_valid_addon_license() ) {
192
  $action = 'el_license_deactivate';
193
+ $action_text = __( 'Deactivate License', 'email-log' );
194
  $button_class = '';
195
  $dashicon = 'up';
196
  $license_wrap = '';
212
 
213
  <div class="individual-license <?php echo sanitize_html_class( $license_wrap ); ?>">
214
  <form method="post">
215
+ <input type="text" name="el-license" class="el-license" size="40"
216
  title="<?php _e( 'Email Log License Key', 'email-log' ); ?>"
217
  placeholder="<?php echo esc_attr( sprintf( __( '%s Add-on License Key', 'email-log' ), $this->name ) ); ?>"
218
  value="<?php echo esc_attr( $this->get_addon_license_key() ); ?>">
219
 
220
+ <input type="submit" class="button <?php echo sanitize_html_class( $button_class ); ?>"
221
  value="<?php echo esc_attr( $action_text ); ?>">
222
 
223
  <p class="expires"><?php echo $expiry_details; ?></p>
include/Addon/AddonList.php CHANGED
@@ -61,6 +61,44 @@ class AddonList {
61
  return false;
62
  }
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  /**
65
  * Get all add-ons that are not active (either not installed or not activated).
66
  *
@@ -84,9 +122,8 @@ class AddonList {
84
  public function render() {
85
  ?>
86
 
87
- <div class="el-container">
88
  <?php $this->render_addons(); ?>
89
- <div class="clear"></div>
90
  </div> <!-- .el-container -->
91
  <?php
92
  }
61
  return false;
62
  }
63
 
64
+ /**
65
+ * Is an add-on active?
66
+ *
67
+ * @since 2.4.0
68
+ *
69
+ * @param string $name Add-on name.
70
+ *
71
+ * @return bool True if add-on is present and is active, false otherwise.
72
+ */
73
+ public function is_addon_active( $name ) {
74
+ $addon = $this->get_addon_by_name( $name );
75
+
76
+ if ( ! $addon instanceof Addon ) {
77
+ return false;
78
+ }
79
+
80
+ return $addon->is_active();
81
+ }
82
+
83
+ /**
84
+ * Is an add-on installed?
85
+ *
86
+ * @since 2.4.0
87
+ *
88
+ * @param string $name Add-on name.
89
+ *
90
+ * @return bool True if add-on is present and is installed, false otherwise.
91
+ */
92
+ public function is_addon_installed( $name ) {
93
+ $addon = $this->get_addon_by_name( $name );
94
+
95
+ if ( ! $addon instanceof Addon ) {
96
+ return false;
97
+ }
98
+
99
+ return $addon->is_installed();
100
+ }
101
+
102
  /**
103
  * Get all add-ons that are not active (either not installed or not activated).
104
  *
122
  public function render() {
123
  ?>
124
 
125
+ <div class="el-addon-list">
126
  <?php $this->render_addons(); ?>
 
127
  </div> <!-- .el-container -->
128
  <?php
129
  }
include/Addon/License/Licenser.php CHANGED
@@ -67,7 +67,6 @@ final class Licenser implements Loadie {
67
  $this->bundle_license->load();
68
 
69
  add_action( 'el_before_addon_list', array( $this, 'render_bundle_license_form' ) );
70
- add_action( 'el_before_logs_list_table', array( $this, 'render_more_fields_addon_upsell_message' ) );
71
 
72
  add_action( 'el_bundle_license_activate', array( $this, 'activate_bundle_license' ) );
73
  add_action( 'el_bundle_license_deactivate', array( $this, 'deactivate_bundle_license' ) );
@@ -160,28 +159,6 @@ final class Licenser implements Loadie {
160
  <?php
161
  }
162
 
163
- /**
164
- * Renders Upsell message for More Fields add-on.
165
- *
166
- * @since 2.2.5
167
- */
168
- public function render_more_fields_addon_upsell_message() {
169
- echo '<span id = "el-pro-msg">';
170
- _e( 'Additional fields are available through More Fields add-on. ', 'email-log' );
171
-
172
- if ( $this->is_bundle_license_valid() ) {
173
- echo '<a href="admin.php?page=email-log-addons">';
174
- _e( 'Install it', 'email-log' );
175
- echo '</a>';
176
- } else {
177
- echo '<a rel="noopener" target="_blank" href="https://wpemaillog.com/addons/more-fields/?utm_campaign=Upsell&utm_medium=wpadmin&utm_source=inline&utm_content=mf" style="color:red">';
178
- _e( 'Buy Now', 'email-log' );
179
- echo '</a>';
180
- }
181
-
182
- echo '</span>';
183
- }
184
-
185
  /**
186
  * Activate Bundle License.
187
  *
@@ -328,6 +305,32 @@ final class Licenser implements Loadie {
328
  return '';
329
  }
330
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  /**
332
  * Return the bundle license.
333
  *
67
  $this->bundle_license->load();
68
 
69
  add_action( 'el_before_addon_list', array( $this, 'render_bundle_license_form' ) );
 
70
 
71
  add_action( 'el_bundle_license_activate', array( $this, 'activate_bundle_license' ) );
72
  add_action( 'el_bundle_license_deactivate', array( $this, 'deactivate_bundle_license' ) );
159
  <?php
160
  }
161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  /**
163
  * Activate Bundle License.
164
  *
305
  return '';
306
  }
307
 
308
+ /**
309
+ * Is an add-on active?
310
+ *
311
+ * @since 2.4.0
312
+ *
313
+ * @param string $addon_name Add-on name.
314
+ *
315
+ * @return bool True if add-on is present and is active, false otherwise.
316
+ */
317
+ public function is_addon_active( $addon_name ) {
318
+ return $this->addon_list->is_addon_active( $addon_name );
319
+ }
320
+
321
+ /**
322
+ * Is an add-on installed?
323
+ *
324
+ * @since 2.4.0
325
+ *
326
+ * @param string $addon_name Add-on name.
327
+ *
328
+ * @return bool True if add-on is present and is installed, false otherwise.
329
+ */
330
+ public function is_addon_installed( $addon_name ) {
331
+ return $this->addon_list->is_addon_installed( $addon_name );
332
+ }
333
+
334
  /**
335
  * Return the bundle license.
336
  *
include/Addon/Upseller.php ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php namespace EmailLog\Addon;
2
+
3
+ use EmailLog\Core\Loadie;
4
+
5
+ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
6
+
7
+ /**
8
+ * Upsells add-ons by displaying links to add-ons with context in different parts of admin interface.
9
+ *
10
+ * @since 2.4.0
11
+ */
12
+ class Upseller implements Loadie {
13
+
14
+ // phpcs:ignore Squiz.Commenting.FunctionComment.Missing
15
+ public function load() {
16
+ add_action( 'admin_init', [ 'PAnD', 'init' ] );
17
+
18
+ add_action( 'el_before_logs_list_table', [ $this, 'upsell_more_fields_addon_in_log_list_page' ] );
19
+
20
+ add_action( 'el_before_logs_list_table', [ $this, 'upsell_auto_delete_logs_in_log_list_page' ] );
21
+ add_action( 'el_after_db_size_notification_setting', [ $this, 'upsell_auto_delete_logs_in_settings_page' ] );
22
+ }
23
+
24
+ /**
25
+ * Renders Upsell message for More Fields add-on in the log list page.
26
+ *
27
+ * @since 2.2.5
28
+ */
29
+ public function upsell_more_fields_addon_in_log_list_page() {
30
+ echo '<span id = "el-pro-msg">';
31
+ _e( 'Additional fields are available through More Fields add-on. ', 'email-log' );
32
+
33
+ if ( $this->is_bundle_license_valid() ) {
34
+ echo '<a href="admin.php?page=email-log-addons">';
35
+ _e( 'Install it', 'email-log' );
36
+ echo '</a>';
37
+ } else {
38
+ echo '<a rel="noopener" target="_blank" href="https://wpemaillog.com/addons/more-fields/?utm_campaign=Upsell&utm_medium=wpadmin&utm_source=inline&utm_content=mf" style="color:red">';
39
+ _e( 'Buy Now', 'email-log' );
40
+ echo '</a>';
41
+ }
42
+
43
+ echo '</span>';
44
+ }
45
+
46
+ /**
47
+ * Renders Upsell message for Auto delete logs add-on in Log list page
48
+ * if the number of logs is greater than 5000.
49
+ *
50
+ * @param int $total_logs Total number of logs.
51
+ *
52
+ */
53
+ public function upsell_auto_delete_logs_in_log_list_page( $total_logs ) {
54
+ if ( $total_logs < 5000 ) {
55
+ return;
56
+ }
57
+
58
+ if ( $this->is_addon_active( 'Auto Delete Logs' ) ) {
59
+ return;
60
+ }
61
+
62
+ if ( ! class_exists( 'PAnD' ) || ! \PAnD::is_admin_notice_active( 'disable-DL-upsell-notice-5000' ) ) {
63
+ return;
64
+ }
65
+ ?>
66
+
67
+ <div data-dismissible="disable-DL-upsell-notice-5000" class="notice notice-warning is-dismissible">
68
+ <p>
69
+ <?php
70
+ /* translators: 1 Auto Delete Logs add-on name. */
71
+ printf(
72
+ __( 'You have more than 5000 email logs in the database. You can use our %1s add-on to automatically delete logs as the DB size grows.', 'email-log' ),
73
+ '<a href="https://wpemaillog.com/addons/auto-delete-logs/?utm_campaign=Upsell&utm_medium=wpadmin&utm_source=log-list&utm_content=dl">Auto Delete Logs</a>'
74
+ );
75
+ ?>
76
+ </p>
77
+ </div>
78
+
79
+ <?php
80
+ }
81
+
82
+ /**
83
+ * Renders Upsell message for Auto delete logs add-on in Settings page.
84
+ */
85
+ public function upsell_auto_delete_logs_in_settings_page() {
86
+ if ( $this->is_addon_active( 'Auto Delete Logs' ) ) {
87
+ return;
88
+ }
89
+
90
+ ?>
91
+ <p>
92
+ <em>
93
+ <?php
94
+ printf(
95
+ __( 'You can also automatically delete logs if the database size increases using our %1s add-on.', 'email-log' ),
96
+ '<a href="https://wpemaillog.com/addons/auto-delete-logs/?utm_campaign=Upsell&utm_medium=wpadmin&utm_source=settings&utm_content=dl" target="_blank">Auto Delete Logs</a>'
97
+ );
98
+ ?>
99
+ </em>
100
+ </p>
101
+ <?php
102
+ }
103
+
104
+ /**
105
+ * Is an add-on active?
106
+ *
107
+ * @param string $addon_name Add-on name.
108
+ *
109
+ * @return bool True if add-on is present and is installed, false otherwise.
110
+ */
111
+ protected function is_addon_active( $addon_name ) {
112
+ $licenser = email_log()->get_licenser();
113
+
114
+ if ( $licenser->is_bundle_license_valid() ) {
115
+ return true;
116
+ }
117
+
118
+ return $licenser->is_addon_active( $addon_name );
119
+ }
120
+
121
+ /**
122
+ * Has valid bundle license?
123
+ *
124
+ * @return bool True if bundle license is valid, false otherwise.
125
+ */
126
+ protected function is_bundle_license_valid() {
127
+ $licenser = email_log()->get_licenser();
128
+
129
+ if ( $licenser->is_bundle_license_valid() ) {
130
+ return true;
131
+ }
132
+
133
+ return false;
134
+ }
135
+ }
include/Core/DB/TableManager.php CHANGED
@@ -22,7 +22,7 @@ class TableManager implements Loadie {
22
  const DB_OPTION_NAME = 'email-log-db';
23
 
24
  /* Database version */
25
- const DB_VERSION = '0.2';
26
 
27
  /**
28
  * Setup hooks.
@@ -417,22 +417,36 @@ class TableManager implements Loadie {
417
  }
418
 
419
  /**
420
- * Sets email sent status as failed for the given log item.
421
  *
 
 
 
 
422
  * @since 2.3.0
423
  *
424
- * @param int $log_item_id ID of the log item whose email sent status should be set to failed.
 
 
425
  */
426
- public function mark_log_as_failed( $log_item_id ) {
427
  global $wpdb;
428
  $table_name = $this->get_log_table_name();
429
 
430
  $wpdb->update(
431
  $table_name,
432
- array( 'result' => '0' ),
433
- array( 'ID' => $log_item_id ),
434
- array( '%d' ),
435
- array( '%d' )
 
 
 
 
 
 
 
 
436
  );
437
  }
438
 
@@ -459,6 +473,7 @@ class TableManager implements Loadie {
459
  /**
460
  * Gets the Create Table query.
461
  *
 
462
  * @since 2.3.0
463
  *
464
  * @return string
@@ -479,6 +494,7 @@ class TableManager implements Loadie {
479
  attachment_name VARCHAR(1000),
480
  ip_address VARCHAR(15),
481
  result TINYINT(1),
 
482
  PRIMARY KEY (id)
483
  ) ' . $charset_collate . ';';
484
 
22
  const DB_OPTION_NAME = 'email-log-db';
23
 
24
  /* Database version */
25
+ const DB_VERSION = '0.3';
26
 
27
  /**
28
  * Setup hooks.
417
  }
418
 
419
  /**
420
+ * Sets email sent status and error message for the given log item when email fails.
421
  *
422
+ * @param int $log_item_id ID of the log item whose email sent status should be set to failed.
423
+ * @param string $message Error message.
424
+ *
425
+ * @since 2.4.0 Include error message during update.
426
  * @since 2.3.0
427
  *
428
+ * @global \wpdb $wpdb
429
+ *
430
+ * @see TableManager::get_log_table_name()
431
  */
432
+ public function mark_log_as_failed( $log_item_id, $message ) {
433
  global $wpdb;
434
  $table_name = $this->get_log_table_name();
435
 
436
  $wpdb->update(
437
  $table_name,
438
+ array(
439
+ 'result' => '0',
440
+ 'error_message' => $message,
441
+ ),
442
+ array( 'ID' => $log_item_id ),
443
+ array(
444
+ '%d', // `result` format.
445
+ '%s', // `error_message` format.
446
+ ),
447
+ array(
448
+ '%d', // `ID` format.
449
+ )
450
  );
451
  }
452
 
473
  /**
474
  * Gets the Create Table query.
475
  *
476
+ * @since 2.4.0 Added error_message column.
477
  * @since 2.3.0
478
  *
479
  * @return string
494
  attachment_name VARCHAR(1000),
495
  ip_address VARCHAR(15),
496
  result TINYINT(1),
497
+ error_message VARCHAR(1000),
498
  PRIMARY KEY (id)
499
  ) ' . $charset_collate . ';';
500
 
include/Core/EmailLog.php CHANGED
@@ -17,7 +17,7 @@ class EmailLog {
17
  *
18
  * @var string
19
  */
20
- const VERSION = '2.3.2';
21
 
22
  /**
23
  * Email Log Store URL.
17
  *
18
  * @var string
19
  */
20
+ const VERSION = '2.4.0';
21
 
22
  /**
23
  * Email Log Store URL.
include/Core/EmailLogger.php CHANGED
@@ -121,19 +121,24 @@ class EmailLogger implements Loadie {
121
  /**
122
  * Updates the failed email in the DB.
123
  *
 
 
 
124
  * @since 2.3.0
125
  *
126
- * @param \WP_Error $wp_error The error instance.
 
127
  */
128
  public function on_email_failed( $wp_error ) {
129
- if ( ! ( $wp_error instanceof \WP_Error ) ) {
130
  return;
131
  }
132
 
133
  // @see wp-includes/pluggable.php#500
134
  $mail_error_data = $wp_error->get_error_data( 'wp_mail_failed' );
 
135
 
136
- $this->mark_email_log_as_failed( $mail_error_data );
137
  }
138
 
139
  /**
@@ -170,11 +175,13 @@ class EmailLogger implements Loadie {
170
  /**
171
  * Mark email log as failed.
172
  *
173
- * @since 2.3.2
 
174
  *
175
- * @param array $log Email Log.
 
176
  */
177
- protected function mark_email_log_as_failed( $log ) {
178
  if ( ! is_array( $log ) ) {
179
  return;
180
  }
@@ -191,6 +198,6 @@ class EmailLogger implements Loadie {
191
  return;
192
  }
193
 
194
- $email_log->table_manager->mark_log_as_failed( $log_item_id );
195
  }
196
  }
121
  /**
122
  * Updates the failed email in the DB.
123
  *
124
+ * @param \WP_Error $wp_error The error instance.
125
+ *
126
+ * @since 2.4.0 Use is_wp_error() to validate the type of $wp_error.
127
  * @since 2.3.0
128
  *
129
+ * @see is_wp_error()
130
+ * @see email_log()
131
  */
132
  public function on_email_failed( $wp_error ) {
133
+ if ( ! is_wp_error( $wp_error ) ) {
134
  return;
135
  }
136
 
137
  // @see wp-includes/pluggable.php#500
138
  $mail_error_data = $wp_error->get_error_data( 'wp_mail_failed' );
139
+ $mail_error_message = $wp_error->get_error_message( 'wp_mail_failed' );
140
 
141
+ $this->mark_email_log_as_failed( $mail_error_data, $mail_error_message );
142
  }
143
 
144
  /**
175
  /**
176
  * Mark email log as failed.
177
  *
178
+ * @param array $log Email Log.
179
+ * @param string $error_message Error message.
180
  *
181
+ * @since 2.3.2
182
+ * @since 2.4.0 Store the error message.
183
  */
184
+ protected function mark_email_log_as_failed( $log, $error_message = '' ) {
185
  if ( ! is_array( $log ) ) {
186
  return;
187
  }
198
  return;
199
  }
200
 
201
+ $email_log->table_manager->mark_log_as_failed( $log_item_id, $error_message );
202
  }
203
  }
include/Core/Request/LogListAction.php CHANGED
@@ -13,6 +13,8 @@ class LogListAction implements Loadie {
13
  /**
14
  * Setup actions.
15
  *
 
 
16
  * @inheritdoc
17
  */
18
  public function load() {
@@ -26,6 +28,7 @@ class LogListAction implements Loadie {
26
  /**
27
  * AJAX callback for displaying email content.
28
  *
 
29
  * @since 1.6
30
  */
31
  public function view_log_message() {
@@ -43,6 +46,17 @@ class LogListAction implements Loadie {
43
  if ( count( $log_items ) > 0 ) {
44
  $log_item = $log_items[0];
45
 
 
 
 
 
 
 
 
 
 
 
 
46
  ob_start();
47
  ?>
48
  <table style="width: 100%;">
@@ -74,13 +88,13 @@ class LogListAction implements Loadie {
74
  </table>
75
 
76
  <div id="tabs">
77
- <ul>
78
  <li><a href="#tabs-text"><?php _e( 'Raw Email Content', 'email-log' ); ?></a></li>
79
  <li><a href="#tabs-preview"><?php _e( 'Preview Content as HTML', 'email-log' ); ?></a></li>
80
  </ul>
81
 
82
  <div id="tabs-text">
83
- <textarea class="tabs-text-textarea"><?php echo esc_textarea( $log_item['message'] ); ?></textarea>
84
  </div>
85
 
86
  <div id="tabs-preview">
@@ -93,8 +107,7 @@ class LogListAction implements Loadie {
93
  </div>
94
 
95
  <?php
96
- $output = ob_get_clean();
97
- echo $output;
98
  }
99
 
100
  wp_die(); // this is required to return a proper result.
13
  /**
14
  * Setup actions.
15
  *
16
+ * @since 2.4.0 Display Plain type email using <pre>.
17
+ *
18
  * @inheritdoc
19
  */
20
  public function load() {
28
  /**
29
  * AJAX callback for displaying email content.
30
  *
31
+ * @since 2.4.0 Show Active Tab based on the Email's content type.
32
  * @since 1.6
33
  */
34
  public function view_log_message() {
46
  if ( count( $log_items ) > 0 ) {
47
  $log_item = $log_items[0];
48
 
49
+ $headers = array();
50
+ if ( ! empty( $log_item['headers'] ) ) {
51
+ $parser = new \EmailLog\Util\EmailHeaderParser();
52
+ $headers = $parser->parse_headers( $log_item['headers'] );
53
+ }
54
+
55
+ $active_tab = '0';
56
+ if ( isset( $headers['content_type'] ) && 'text/html' === $headers['content_type'] ) {
57
+ $active_tab = '1';
58
+ }
59
+
60
  ob_start();
61
  ?>
62
  <table style="width: 100%;">
88
  </table>
89
 
90
  <div id="tabs">
91
+ <ul data-active-tab="<?php echo absint( $active_tab ); ?>">
92
  <li><a href="#tabs-text"><?php _e( 'Raw Email Content', 'email-log' ); ?></a></li>
93
  <li><a href="#tabs-preview"><?php _e( 'Preview Content as HTML', 'email-log' ); ?></a></li>
94
  </ul>
95
 
96
  <div id="tabs-text">
97
+ <pre class="tabs-text-pre"><?php echo esc_textarea( $log_item['message'] ); ?></pre>
98
  </div>
99
 
100
  <div id="tabs-preview">
107
  </div>
108
 
109
  <?php
110
+ echo ob_get_clean();
 
111
  }
112
 
113
  wp_die(); // this is required to return a proper result.
include/Core/UI/Component/DashboardWidget.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php namespace EmailLog\Core\UI\Component;
2
 
3
  use EmailLog\Core\Loadie;
4
- use EmailLog\Util;
5
 
6
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
7
 
@@ -44,7 +43,15 @@ class DashboardWidget implements Loadie {
44
  <?php _e( 'Total number of emails logged' , 'email-log' ); ?>: <strong><?php echo number_format( absint( $logs_count ), 0, ',', ',' ); ?></strong>
45
  </p>
46
 
47
- <?php Util\render_auto_delete_logs_next_run_schedule(); ?>
 
 
 
 
 
 
 
 
48
 
49
  <ul class="subsubsub" style="float: none">
50
  <li><?php printf( __( '<a href="%s">Email Logs</a>', 'email-log' ), 'admin.php?page=email-log' ); ?> <span style="color: #ddd"> | </span></li>
1
  <?php namespace EmailLog\Core\UI\Component;
2
 
3
  use EmailLog\Core\Loadie;
 
4
 
5
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
6
 
43
  <?php _e( 'Total number of emails logged' , 'email-log' ); ?>: <strong><?php echo number_format( absint( $logs_count ), 0, ',', ',' ); ?></strong>
44
  </p>
45
 
46
+ <?php
47
+ /**
48
+ * Triggered just after printing the content of the dashboard widget.
49
+ * Use this hook to add custom messages to the dashboard widget.
50
+ *
51
+ * @since 2.4.0
52
+ */
53
+ do_action( 'el_inside_dashboard_widget' );
54
+ ?>
55
 
56
  <ul class="subsubsub" style="float: none">
57
  <li><?php printf( __( '<a href="%s">Email Logs</a>', 'email-log' ), 'admin.php?page=email-log' ); ?> <span style="color: #ddd"> | </span></li>
include/Core/UI/ListTable/LogListTable.php CHANGED
@@ -53,8 +53,11 @@ class LogListTable extends \WP_List_Table {
53
  * Triggered before the logs list table is displayed.
54
  *
55
  * @since 2.2.5
 
 
 
56
  */
57
- do_action( 'el_before_logs_list_table' );
58
  }
59
  }
60
 
@@ -63,6 +66,7 @@ class LogListTable extends \WP_List_Table {
63
  *
64
  * @since 2.3.0 Retrieve Column labels using Utility methods.
65
  * @since 2.3.2 Added `result` column.
 
66
  * @see WP_List_Table::single_row_columns()
67
  *
68
  * @uses \EmailLog\Util\get_column_label()
@@ -71,7 +75,7 @@ class LogListTable extends \WP_List_Table {
71
  */
72
  public function get_columns() {
73
  $columns = array(
74
- 'cb' => '<input type="checkbox" />', // Render a checkbox instead of heading.
75
  );
76
 
77
  foreach ( array( 'sent_date', 'result', 'to_email', 'subject' ) as $column ) {
@@ -137,7 +141,7 @@ class LogListTable extends \WP_List_Table {
137
  */
138
  protected function column_sent_date( $item ) {
139
  $email_date = mysql2date(
140
- sprintf( __( '%s @ %s', 'email-log' ), get_option( 'date_format', 'F j, Y' ), get_option( 'time_format', 'g:i A' ) ),
141
  $item->sent_date
142
  );
143
 
@@ -246,8 +250,7 @@ class LogListTable extends \WP_List_Table {
246
  * Markup for Status column.
247
  *
248
  * @since 2.3.2
249
- *
250
- * @access protected
251
  *
252
  * @param object $item Email Log item.
253
  *
@@ -260,11 +263,21 @@ class LogListTable extends \WP_List_Table {
260
  return '';
261
  }
262
 
 
263
  if ( $item->result ) {
264
- return \EmailLog\Util\get_success_icon();
265
  }
266
 
267
- return \EmailLog\Util\get_failure_icon();
 
 
 
 
 
 
 
 
 
268
  }
269
 
270
  /**
53
  * Triggered before the logs list table is displayed.
54
  *
55
  * @since 2.2.5
56
+ * @since 2.4.0 Added $total_logs parameter
57
+ *
58
+ * @param int $total_logs Total number of logs.
59
  */
60
+ do_action( 'el_before_logs_list_table', $this->get_pagination_arg( 'total_items' ) );
61
  }
62
  }
63
 
66
  *
67
  * @since 2.3.0 Retrieve Column labels using Utility methods.
68
  * @since 2.3.2 Added `result` column.
69
+ * @since 2.4.0 Added `sent_status` column.
70
  * @see WP_List_Table::single_row_columns()
71
  *
72
  * @uses \EmailLog\Util\get_column_label()
75
  */
76
  public function get_columns() {
77
  $columns = array(
78
+ 'cb' => '<input type="checkbox" />',
79
  );
80
 
81
  foreach ( array( 'sent_date', 'result', 'to_email', 'subject' ) as $column ) {
141
  */
142
  protected function column_sent_date( $item ) {
143
  $email_date = mysql2date(
144
+ sprintf( __( '%s @ %s', 'email-log' ), get_option( 'date_format', 'F j, Y' ), 'g:i:s a' ),
145
  $item->sent_date
146
  );
147
 
250
  * Markup for Status column.
251
  *
252
  * @since 2.3.2
253
+ * @since 2.4.0 Output the error message as tooltip.
 
254
  *
255
  * @param object $item Email Log item.
256
  *
263
  return '';
264
  }
265
 
266
+ $icon = \EmailLog\Util\get_failure_icon();
267
  if ( $item->result ) {
268
+ $icon = \EmailLog\Util\get_success_icon();
269
  }
270
 
271
+ if ( ! isset( $item->error_message ) ) {
272
+ return $icon;
273
+ }
274
+
275
+ return sprintf(
276
+ '<span class="%3$s" title="%2$s">%1$s</span>',
277
+ $icon,
278
+ esc_attr( $item->error_message ),
279
+ 'el-help'
280
+ );
281
  }
282
 
283
  /**
include/Core/UI/Page/LogListPage.php CHANGED
@@ -209,16 +209,12 @@ class LogListPage extends BasePage {
209
  $email_log = email_log();
210
  $plugin_dir_url = plugin_dir_url( $email_log->get_plugin_file() );
211
 
212
- wp_enqueue_style( 'jquery-ui-css', $plugin_dir_url . 'assets/vendor/jquery-ui/themes/base/jquery-ui.min.css', array(), '1.12.1' );
213
  wp_enqueue_style( 'el-view-logs-css', $plugin_dir_url . 'assets/css/admin/view-logs.css', array( 'jquery-ui-css' ), $email_log->get_version() );
214
 
215
- // @see bower.json file for the Version.
216
- wp_enqueue_style( 'jquery-ui-smoothness', $plugin_dir_url . 'assets/vendor/jquery-ui/themes/smoothness/jquery-ui.min.css', array( 'jquery-ui-css' ), '1.12.1' );
217
-
218
  wp_register_script( 'jquery-ui', $plugin_dir_url . 'assets/vendor/jquery-ui/jquery-ui.min.js', array( 'jquery' ), '1.12.1', true );
219
- wp_register_script( 'insertionQ', $plugin_dir_url . 'assets/vendor/insertionQuery/insQ.min.js', array( 'jquery' ), '1.0.4', true );
220
- wp_enqueue_script( 'jquery-ui-datepicker' );
221
 
222
- wp_enqueue_script( 'el-view-logs', $plugin_dir_url . 'assets/js/admin/view-logs.js', array( 'jquery-ui', 'jquery-ui-datepicker', 'insertionQ', 'jquery-ui-tooltip' ), $email_log->get_version(), true );
223
  }
224
  }
209
  $email_log = email_log();
210
  $plugin_dir_url = plugin_dir_url( $email_log->get_plugin_file() );
211
 
212
+ wp_register_style( 'jquery-ui-css', $plugin_dir_url . 'assets/vendor/jquery-ui/themes/base/jquery-ui.min.css', array(), '1.12.1' );
213
  wp_enqueue_style( 'el-view-logs-css', $plugin_dir_url . 'assets/css/admin/view-logs.css', array( 'jquery-ui-css' ), $email_log->get_version() );
214
 
 
 
 
215
  wp_register_script( 'jquery-ui', $plugin_dir_url . 'assets/vendor/jquery-ui/jquery-ui.min.js', array( 'jquery' ), '1.12.1', true );
216
+ wp_register_script( 'insertionQ', $plugin_dir_url . 'assets/vendor/insertion-query/insQ.min.js', array( 'jquery' ), '1.0.4', true );
 
217
 
218
+ wp_enqueue_script( 'el-view-logs', $plugin_dir_url . 'assets/js/admin/view-logs.js', array( 'insertionQ', 'jquery-ui', 'jquery-ui-datepicker', 'jquery-ui-tooltip' ), $email_log->get_version(), true );
219
  }
220
  }
include/Core/UI/Setting/CoreSetting.php CHANGED
@@ -281,8 +281,14 @@ class CoreSetting extends Setting {
281
  '<b>Save</b>'
282
  ); ?>
283
  </p>
284
- <?php endif; ?>
285
  <?php
 
 
 
 
 
 
 
286
  }
287
 
288
  /**
281
  '<b>Save</b>'
282
  ); ?>
283
  </p>
 
284
  <?php
285
+ endif;
286
+ /**
287
+ * After DB size notification setting in Settings page.
288
+ *
289
+ * @since 2.4.0
290
+ */
291
+ do_action( 'el_after_db_size_notification_setting' );
292
  }
293
 
294
  /**
include/Util/helper.php CHANGED
@@ -175,7 +175,6 @@ function stringify( $may_be_array, $delimiter = ',' ) {
175
  * Gets the User defined Date time format.
176
  *
177
  * @used-by \EmailLog\Core\UI\Setting\CoreSetting
178
- * @used-by \EmailLog\Util\render_auto_delete_logs_next_run_schedule()
179
  *
180
  * @since 2.3.0
181
  *
@@ -185,26 +184,6 @@ function get_user_defined_date_time_format() {
185
  return sprintf( '%1$s %2$s', get_option( 'date_format', 'Y-m-d' ), get_option( 'time_format', 'g:i a' ) );
186
  }
187
 
188
- /**
189
- * Renders the next run auto delete logs schedule in Date and time format set within WordPress.
190
- *
191
- * @used-by \EmailLog\Addon\UI\Setting\DashboardWidget
192
- * @used-by \EmailLog\Core\UI\Component\AutoDeleteLogsSetting
193
- *
194
- * @since 2.3.0
195
- */
196
- function render_auto_delete_logs_next_run_schedule() {
197
- ?>
198
- <?php if ( wp_next_scheduled( 'el_scheduled_delete_logs' ) ) : ?>
199
- <p>
200
- <?php _e( 'Auto delete logs cron will be triggered next at', 'email-log' ); ?>:
201
- <?php $date_time_format = get_user_defined_date_time_format(); ?>
202
- <strong><?php echo get_date_from_gmt( date( 'Y-m-d H:i:s', wp_next_scheduled( 'el_scheduled_delete_logs' ) ), $date_time_format ); ?></strong>
203
- </p>
204
- <?php endif; ?>
205
- <?php
206
- }
207
-
208
  /**
209
  * Gets the value by key from the array.
210
  *
175
  * Gets the User defined Date time format.
176
  *
177
  * @used-by \EmailLog\Core\UI\Setting\CoreSetting
 
178
  *
179
  * @since 2.3.0
180
  *
184
  return sprintf( '%1$s %2$s', get_option( 'date_format', 'Y-m-d' ), get_option( 'time_format', 'g:i a' ) );
185
  }
186
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  /**
188
  * Gets the value by key from the array.
189
  *
languages/email-log.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Email Log package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Email Log 2.3.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/email-log\n"
7
- "POT-Creation-Date: 2020-03-03 10:57:48+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,7 +12,8 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: dist/email-log.php:49 email-log.php:49
 
16
  msgid ""
17
  "Email Log requires at least PHP 5.3 to function properly. Please upgrade PHP "
18
  "or use <a href=\"%s\" target=\"_blank\" rel=\"noopener\">v1.9.1 of Email "
@@ -31,77 +32,109 @@ msgid ""
31
  "after sometime. If the problem persists contact support."
32
  msgstr ""
33
 
34
- #: dist/include/Addon/Addon.php:130 include/Addon/Addon.php:130
 
 
35
  msgctxt "Installed on website but not activated"
36
  msgid "Installed"
37
  msgstr ""
38
 
39
- #: dist/include/Addon/Addon.php:133 include/Addon/Addon.php:133
 
 
40
  msgctxt "Installed and activated on website"
41
  msgid "Activated"
42
  msgstr ""
43
 
44
- #: dist/include/Addon/Addon.php:135 include/Addon/Addon.php:135
 
 
45
  msgctxt "Enable addon so it may be used"
46
  msgid "Activate"
47
  msgstr ""
48
 
49
- #: dist/include/Addon/Addon.php:143 include/Addon/Addon.php:143
 
 
50
  msgctxt "Download to your computer"
51
  msgid "Download"
52
  msgstr ""
53
 
54
- #: dist/include/Addon/Addon.php:168 include/Addon/Addon.php:168
 
 
55
  msgctxt "Download add-on"
56
  msgid "Activate License to Download"
57
  msgstr ""
58
 
59
- #: dist/include/Addon/Addon.php:171 include/Addon/Addon.php:171
 
 
60
  msgctxt "Download and activate addon"
61
  msgid "Activate License to Use"
62
  msgstr ""
63
 
64
- #: dist/include/Addon/Addon.php:176 include/Addon/Addon.php:176
 
 
65
  msgid "You need an active license to use the add-on"
66
  msgstr ""
67
 
68
- #: dist/include/Addon/Addon.php:186 dist/include/Addon/License/Licenser.php:104
69
- #: include/Addon/Addon.php:186 include/Addon/License/Licenser.php:104
 
 
 
70
  msgid "Activate"
71
  msgstr ""
72
 
73
- #: dist/include/Addon/Addon.php:194 dist/include/Addon/License/Licenser.php:112
74
- #: include/Addon/Addon.php:194 include/Addon/License/Licenser.php:112
 
 
 
75
  msgid "Deactivate"
76
  msgstr ""
77
 
78
  #. translators: 1 License expiry date, 2 License Renewal link
79
- #: dist/include/Addon/Addon.php:203 dist/include/Addon/License/Licenser.php:118
80
- #: include/Addon/Addon.php:203 include/Addon/License/Licenser.php:118
 
 
 
81
  msgid ""
82
  "Your license has expired on %1$s. Please <a href=\"%2$s\">renew it</a> to "
83
  "receive automatic updates and support."
84
  msgstr ""
85
 
86
  #. translators: 1 License expiry date
87
- #: dist/include/Addon/Addon.php:206 dist/include/Addon/License/Licenser.php:122
88
- #: include/Addon/Addon.php:206 include/Addon/License/Licenser.php:122
 
 
 
89
  msgid "Your license is valid till %s"
90
  msgstr ""
91
 
92
- #: dist/include/Addon/Addon.php:212 include/Addon/Addon.php:212
 
 
93
  msgid "Individual add-on license"
94
  msgstr ""
95
 
96
- #: dist/include/Addon/Addon.php:217 include/Addon/Addon.php:217
 
 
97
  msgid "Email Log License Key"
98
  msgstr ""
99
 
100
- #: dist/include/Addon/Addon.php:218 include/Addon/Addon.php:218
 
 
101
  msgid "%s Add-on License Key"
102
  msgstr ""
103
 
104
- #: dist/include/Addon/AddonList.php:177 include/Addon/AddonList.php:177
105
  msgid ""
106
  "We are not able to retrieve the add-on list now. Please visit the <a target="
107
  "\"_blank\" rel=\"noopener\" href=\"%s\">add-on page</a> to view the add-ons."
@@ -168,112 +201,129 @@ msgstr ""
168
  msgid "An error occurred, please try again"
169
  msgstr ""
170
 
171
- #: dist/include/Addon/License/Licenser.php:133
172
- #: include/Addon/License/Licenser.php:133
 
173
  msgid ""
174
  "Enter your license key to activate add-ons. If you don't have a license, "
175
  "then you can <a href='%s' target='_blank'>buy it</a>"
176
  msgstr ""
177
 
 
 
178
  #: dist/include/Addon/License/Licenser.php:142
179
  #: dist/include/Addon/License/Licenser.php:143
 
180
  #: include/Addon/License/Licenser.php:142
181
- #: include/Addon/License/Licenser.php:143
182
  msgid "Email Log Bundle License Key"
183
  msgstr ""
184
 
185
- #: dist/include/Addon/License/Licenser.php:168
186
- #: include/Addon/License/Licenser.php:170
 
187
  msgid "Additional fields are available through More Fields add-on. "
188
  msgstr ""
189
 
190
- #: dist/include/Addon/License/Licenser.php:172
191
- #: include/Addon/License/Licenser.php:174
 
192
  msgid "Install it"
193
  msgstr ""
194
 
195
- #: dist/include/Addon/License/Licenser.php:176
196
- #: include/Addon/License/Licenser.php:178
 
197
  msgid "Buy Now"
198
  msgstr ""
199
 
200
- #: dist/include/Addon/License/Licenser.php:195
201
- #: include/Addon/License/Licenser.php:197
 
202
  msgid ""
203
  "Your license has been activated. You can now install add-ons, will receive "
204
  "automatic updates and access to email support."
205
  msgstr ""
206
 
207
- #: dist/include/Addon/License/Licenser.php:211
208
- #: include/Addon/License/Licenser.php:213
 
209
  msgid ""
210
  "Your license has been deactivated. You will not receive automatic updates."
211
  msgstr ""
212
 
213
- #: dist/include/Addon/License/Licenser.php:254
214
- #: include/Addon/License/Licenser.php:256
 
215
  msgid ""
216
  "Your license for %s has been activated. You will receive automatic updates "
217
  "and access to email support."
218
  msgstr ""
219
 
220
- #: dist/include/Addon/License/Licenser.php:281
221
- #: include/Addon/License/Licenser.php:283
 
222
  msgid ""
223
  "Your license for %s has been deactivated. You will not receive automatic "
224
  "updates."
225
  msgstr ""
226
 
227
- #: dist/include/Core/Request/LogListAction.php:50
228
- #: dist/include/Util/helper.php:266 include/Core/Request/LogListAction.php:50
229
- #: include/Util/helper.php:344
 
230
  msgid "Sent at"
231
  msgstr ""
232
 
233
- #: dist/include/Core/Request/LogListAction.php:54
 
234
  #: dist/include/Util/helper.php:267 dist/include/Util/helper.php:268
235
- #: include/Core/Request/LogListAction.php:54 include/Util/helper.php:340
236
  msgid "To"
237
  msgstr ""
238
 
239
- #: dist/include/Core/Request/LogListAction.php:58
240
- #: dist/include/Util/helper.php:269 include/Core/Request/LogListAction.php:58
241
- #: include/Util/helper.php:341
 
242
  msgid "Subject"
243
  msgstr ""
244
 
245
  #: dist/include/Core/Request/LogListAction.php:78
246
- #: include/Core/Request/LogListAction.php:78
247
  msgid "Raw Email Content"
248
  msgstr ""
249
 
250
  #: dist/include/Core/Request/LogListAction.php:79
251
- #: include/Core/Request/LogListAction.php:79
252
  msgid "Preview Content as HTML"
253
  msgstr ""
254
 
255
  #: dist/include/Core/Request/LogListAction.php:92
256
- #: include/Core/Request/LogListAction.php:92
257
  msgid "Close"
258
  msgstr ""
259
 
260
  #: dist/include/Core/Request/LogListAction.php:168
261
- #: include/Core/Request/LogListAction.php:168
262
  msgid "There was some problem in deleting the email logs"
263
  msgstr ""
264
 
265
  #: dist/include/Core/Request/LogListAction.php:172
266
- #: include/Core/Request/LogListAction.php:172
267
  msgid "1 email log deleted."
268
  msgid_plural "%s email logs deleted"
269
  msgstr[0] ""
270
  msgstr[1] ""
271
 
 
 
272
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:69
273
  #: include/Core/UI/Component/AdminUIEnhancer.php:69
274
  msgid "Buy Addons"
275
  msgstr ""
276
 
 
 
277
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:85
278
  #: dist/include/Core/UI/Page/LogListPage.php:68
279
  #: dist/include/Core/UI/Page/LogListPage.php:69
@@ -283,6 +333,8 @@ msgstr ""
283
  msgid "View Logs"
284
  msgstr ""
285
 
 
 
286
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:86
287
  #: dist/include/Core/UI/Page/SettingsPage.php:94
288
  #: dist/include/Core/UI/Page/SettingsPage.php:95
@@ -292,85 +344,107 @@ msgstr ""
292
  msgid "Settings"
293
  msgstr ""
294
 
 
 
295
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:109
296
  #: include/Core/UI/Component/AdminUIEnhancer.php:109
297
  msgid "plugin"
298
  msgstr ""
299
 
 
 
300
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:109
301
  #: include/Core/UI/Component/AdminUIEnhancer.php:109
302
  msgid "Version"
303
  msgstr ""
304
 
 
 
305
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:109
306
  #: include/Core/UI/Component/AdminUIEnhancer.php:109
307
  msgid "by"
308
  msgstr ""
309
 
310
  #: dist/include/Core/UI/Component/DashboardWidget.php:30
311
- #: include/Core/UI/Component/DashboardWidget.php:30
312
  msgid "Email Logs Summary"
313
  msgstr ""
314
 
315
  #: dist/include/Core/UI/Component/DashboardWidget.php:44
316
- #: include/Core/UI/Component/DashboardWidget.php:44
317
  msgid "Total number of emails logged"
318
  msgstr ""
319
 
320
  #: dist/include/Core/UI/Component/DashboardWidget.php:50
321
- #: include/Core/UI/Component/DashboardWidget.php:50
322
  msgid "<a href=\"%s\">Email Logs</a>"
323
  msgstr ""
324
 
325
  #: dist/include/Core/UI/Component/DashboardWidget.php:51
326
- #: include/Core/UI/Component/DashboardWidget.php:51
327
  msgid "<a href=\"%s\">Settings</a>"
328
  msgstr ""
329
 
330
  #: dist/include/Core/UI/Component/DashboardWidget.php:52
331
- #: include/Core/UI/Component/DashboardWidget.php:52
332
  msgid "<a href=\"%s\">Addons</a>"
333
  msgstr ""
334
 
 
 
335
  #: dist/include/Core/UI/ListTable/LogListTable.php:138
336
- #: include/Core/UI/ListTable/LogListTable.php:140
337
  msgid "%s @ %s"
338
  msgstr ""
339
 
 
 
340
  #: dist/include/Core/UI/ListTable/LogListTable.php:156
341
- #: include/Core/UI/ListTable/LogListTable.php:158
342
  msgid "Email Content"
343
  msgstr ""
344
 
 
 
345
  #: dist/include/Core/UI/ListTable/LogListTable.php:157
346
- #: include/Core/UI/ListTable/LogListTable.php:159
347
  msgid "View Content"
348
  msgstr ""
349
 
 
 
350
  #: dist/include/Core/UI/ListTable/LogListTable.php:171
351
  #: dist/include/Core/UI/ListTable/LogListTable.php:252
352
- #: include/Core/UI/ListTable/LogListTable.php:173
353
- #: include/Core/UI/ListTable/LogListTable.php:279
354
  msgid "Delete"
355
  msgstr ""
356
 
 
 
357
  #: dist/include/Core/UI/ListTable/LogListTable.php:253
358
- #: include/Core/UI/ListTable/LogListTable.php:280
359
  msgid "Delete All Logs"
360
  msgstr ""
361
 
 
 
362
  #: dist/include/Core/UI/ListTable/LogListTable.php:286
363
- #: include/Core/UI/ListTable/LogListTable.php:313
364
  msgid "Your email log is empty"
365
  msgstr ""
366
 
 
 
367
  #: dist/include/Core/UI/ListTable/LogListTable.php:313
368
- #: include/Core/UI/ListTable/LogListTable.php:340
369
  msgid "Search by date"
370
  msgstr ""
371
 
 
 
372
  #: dist/include/Core/UI/ListTable/LogListTable.php:314
373
- #: include/Core/UI/ListTable/LogListTable.php:341
374
  msgid "Search by term"
375
  msgstr ""
376
 
@@ -449,7 +523,7 @@ msgstr ""
449
  msgid "Support"
450
  msgstr ""
451
 
452
- #. #-#-#-#-# email-log.pot (Email Log 2.3.2) #-#-#-#-#
453
  #. Plugin Name of the plugin/theme
454
  #: dist/include/Core/UI/Page/LogListPage.php:57
455
  #: dist/include/Core/UI/Page/LogListPage.php:58
@@ -597,12 +671,12 @@ msgid ""
597
  msgstr ""
598
 
599
  #: dist/include/Core/UI/Setting/CoreSetting.php:434
600
- #: include/Core/UI/Setting/CoreSetting.php:434
601
  msgid "Email Log Plugin: Your log threshold of %s has been met"
602
  msgstr ""
603
 
604
  #: dist/include/Core/UI/Setting/CoreSetting.php:486
605
- #: include/Core/UI/Setting/CoreSetting.php:486
606
  msgid ""
607
  "Currently there are %1$s logged, which is more than the threshold that is "
608
  "set in the %2$s screen. You can delete some logs or increase the threshold. "
@@ -610,44 +684,67 @@ msgid ""
610
  msgstr ""
611
 
612
  #: dist/include/Core/UI/Setting/CoreSetting.php:487
613
- #: include/Core/UI/Setting/CoreSetting.php:487
614
  msgid " email log"
615
  msgid_plural " email logs"
616
  msgstr[0] ""
617
  msgstr[1] ""
618
 
619
- #: dist/include/Util/helper.php:161 include/Util/helper.php:200
 
620
  msgid "Auto delete logs cron will be triggered next at"
621
  msgstr ""
622
 
623
- #: dist/include/Util/helper.php:264 dist/include/Util/helper.php:265
624
- #: include/Util/helper.php:339
 
625
  msgid "ID"
626
  msgstr ""
627
 
628
- #: dist/include/Util/helper.php:270 include/Util/helper.php:342
 
 
629
  msgid "Message"
630
  msgstr ""
631
 
632
- #: dist/include/Util/helper.php:271 include/Util/helper.php:345
 
 
 
 
 
 
 
 
633
  msgid "From"
634
  msgstr ""
635
 
636
- #: dist/include/Util/helper.php:272 include/Util/helper.php:346
 
 
637
  msgid "CC"
638
  msgstr ""
639
 
640
- #: dist/include/Util/helper.php:273 include/Util/helper.php:347
 
 
641
  msgid "BCC"
642
  msgstr ""
643
 
644
- #: dist/include/Util/helper.php:274 include/Util/helper.php:348
 
 
645
  msgid "Reply To"
646
  msgstr ""
647
 
648
- #: dist/include/Util/helper.php:275 dist/include/Util/helper.php:276
649
- #: include/Util/helper.php:343
650
- msgid "Attachment"
 
 
 
 
 
651
  msgstr ""
652
 
653
  #: dist/include/libraries/EDD_SL_Plugin_Updater.php:201
@@ -673,6 +770,8 @@ msgstr ""
673
  msgid "Error"
674
  msgstr ""
675
 
 
 
676
  #: dist/vendor/sudar/wp-system-info/src/SystemInfo.php:78
677
  #: vendor/sudar/wp-system-info/src/SystemInfo.php:79
678
  msgid ""
@@ -680,12 +779,32 @@ msgid ""
680
  "(Mac)."
681
  msgstr ""
682
 
683
- #: include/Util/helper.php:349
684
- msgid "IP Address"
 
 
 
685
  msgstr ""
686
 
687
- #: include/Util/helper.php:350
688
- msgid "Sent Status"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
689
  msgstr ""
690
 
691
  #: vendor/lucatume/wp-browser/src/data/plugins/wordpress-importer/parsers.php:42
2
  # This file is distributed under the same license as the Email Log package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Email Log 2.4.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/email-log\n"
7
+ "POT-Creation-Date: 2020-07-05 06:30:20+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: dist/email-log (Sudar’s MacBook Pro's conflicted copy 2020-03-25).php:49
16
+ #: dist/email-log.php:49
17
  msgid ""
18
  "Email Log requires at least PHP 5.3 to function properly. Please upgrade PHP "
19
  "or use <a href=\"%s\" target=\"_blank\" rel=\"noopener\">v1.9.1 of Email "
32
  "after sometime. If the problem persists contact support."
33
  msgstr ""
34
 
35
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
36
+ #: 2020-03-25).php:130 dist/include/Addon/Addon.php:130
37
+ #: include/Addon/Addon.php:129
38
  msgctxt "Installed on website but not activated"
39
  msgid "Installed"
40
  msgstr ""
41
 
42
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
43
+ #: 2020-03-25).php:133 dist/include/Addon/Addon.php:133
44
+ #: include/Addon/Addon.php:132
45
  msgctxt "Installed and activated on website"
46
  msgid "Activated"
47
  msgstr ""
48
 
49
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
50
+ #: 2020-03-25).php:135 dist/include/Addon/Addon.php:135
51
+ #: include/Addon/Addon.php:134
52
  msgctxt "Enable addon so it may be used"
53
  msgid "Activate"
54
  msgstr ""
55
 
56
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
57
+ #: 2020-03-25).php:143 dist/include/Addon/Addon.php:143
58
+ #: include/Addon/Addon.php:142
59
  msgctxt "Download to your computer"
60
  msgid "Download"
61
  msgstr ""
62
 
63
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
64
+ #: 2020-03-25).php:168 dist/include/Addon/Addon.php:168
65
+ #: include/Addon/Addon.php:167
66
  msgctxt "Download add-on"
67
  msgid "Activate License to Download"
68
  msgstr ""
69
 
70
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
71
+ #: 2020-03-25).php:171 dist/include/Addon/Addon.php:171
72
+ #: include/Addon/Addon.php:170
73
  msgctxt "Download and activate addon"
74
  msgid "Activate License to Use"
75
  msgstr ""
76
 
77
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
78
+ #: 2020-03-25).php:176 dist/include/Addon/Addon.php:176
79
+ #: include/Addon/Addon.php:175
80
  msgid "You need an active license to use the add-on"
81
  msgstr ""
82
 
83
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
84
+ #: 2020-03-25).php:186 dist/include/Addon/Addon.php:186
85
+ #: dist/include/Addon/License/Licenser 2020-03-25).php:104
86
+ #: dist/include/Addon/License/Licenser.php:104
87
+ #: include/Addon/License/Licenser.php:103
88
  msgid "Activate"
89
  msgstr ""
90
 
91
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
92
+ #: 2020-03-25).php:194 dist/include/Addon/Addon.php:194
93
+ #: dist/include/Addon/License/Licenser 2020-03-25).php:112
94
+ #: dist/include/Addon/License/Licenser.php:112
95
+ #: include/Addon/License/Licenser.php:111
96
  msgid "Deactivate"
97
  msgstr ""
98
 
99
  #. translators: 1 License expiry date, 2 License Renewal link
100
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
101
+ #: 2020-03-25).php:203 dist/include/Addon/Addon.php:203
102
+ #: dist/include/Addon/License/Licenser 2020-03-25).php:118
103
+ #: dist/include/Addon/License/Licenser.php:118 include/Addon/Addon.php:202
104
+ #: include/Addon/License/Licenser.php:117
105
  msgid ""
106
  "Your license has expired on %1$s. Please <a href=\"%2$s\">renew it</a> to "
107
  "receive automatic updates and support."
108
  msgstr ""
109
 
110
  #. translators: 1 License expiry date
111
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
112
+ #: 2020-03-25).php:206 dist/include/Addon/Addon.php:206
113
+ #: dist/include/Addon/License/Licenser 2020-03-25).php:122
114
+ #: dist/include/Addon/License/Licenser.php:122 include/Addon/Addon.php:205
115
+ #: include/Addon/License/Licenser.php:121
116
  msgid "Your license is valid till %s"
117
  msgstr ""
118
 
119
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
120
+ #: 2020-03-25).php:212 dist/include/Addon/Addon.php:212
121
+ #: include/Addon/Addon.php:211
122
  msgid "Individual add-on license"
123
  msgstr ""
124
 
125
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
126
+ #: 2020-03-25).php:217 dist/include/Addon/Addon.php:217
127
+ #: include/Addon/Addon.php:216
128
  msgid "Email Log License Key"
129
  msgstr ""
130
 
131
+ #: dist/include/Addon/Addon (Sudar’s MacBook Pro's conflicted copy
132
+ #: 2020-03-25).php:218 dist/include/Addon/Addon.php:218
133
+ #: include/Addon/Addon.php:217
134
  msgid "%s Add-on License Key"
135
  msgstr ""
136
 
137
+ #: dist/include/Addon/AddonList.php:177 include/Addon/AddonList.php:214
138
  msgid ""
139
  "We are not able to retrieve the add-on list now. Please visit the <a target="
140
  "\"_blank\" rel=\"noopener\" href=\"%s\">add-on page</a> to view the add-ons."
201
  msgid "An error occurred, please try again"
202
  msgstr ""
203
 
204
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
205
+ #: 2020-03-25).php:133 dist/include/Addon/License/Licenser.php:133
206
+ #: include/Addon/License/Licenser.php:132
207
  msgid ""
208
  "Enter your license key to activate add-ons. If you don't have a license, "
209
  "then you can <a href='%s' target='_blank'>buy it</a>"
210
  msgstr ""
211
 
212
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
213
+ #: 2020-03-25).php:142 2020-03-25).php:143
214
  #: dist/include/Addon/License/Licenser.php:142
215
  #: dist/include/Addon/License/Licenser.php:143
216
+ #: include/Addon/License/Licenser.php:141
217
  #: include/Addon/License/Licenser.php:142
 
218
  msgid "Email Log Bundle License Key"
219
  msgstr ""
220
 
221
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
222
+ #: 2020-03-25).php:170 dist/include/Addon/License/Licenser.php:168
223
+ #: include/Addon/Upseller.php:31
224
  msgid "Additional fields are available through More Fields add-on. "
225
  msgstr ""
226
 
227
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
228
+ #: 2020-03-25).php:174 dist/include/Addon/License/Licenser.php:172
229
+ #: include/Addon/Upseller.php:35
230
  msgid "Install it"
231
  msgstr ""
232
 
233
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
234
+ #: 2020-03-25).php:178 dist/include/Addon/License/Licenser.php:176
235
+ #: include/Addon/Upseller.php:39
236
  msgid "Buy Now"
237
  msgstr ""
238
 
239
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
240
+ #: 2020-03-25).php:197 dist/include/Addon/License/Licenser.php:195
241
+ #: include/Addon/License/Licenser.php:174
242
  msgid ""
243
  "Your license has been activated. You can now install add-ons, will receive "
244
  "automatic updates and access to email support."
245
  msgstr ""
246
 
247
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
248
+ #: 2020-03-25).php:213 dist/include/Addon/License/Licenser.php:211
249
+ #: include/Addon/License/Licenser.php:190
250
  msgid ""
251
  "Your license has been deactivated. You will not receive automatic updates."
252
  msgstr ""
253
 
254
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
255
+ #: 2020-03-25).php:256 dist/include/Addon/License/Licenser.php:254
256
+ #: include/Addon/License/Licenser.php:233
257
  msgid ""
258
  "Your license for %s has been activated. You will receive automatic updates "
259
  "and access to email support."
260
  msgstr ""
261
 
262
+ #: dist/include/Addon/License/Licenser (Sudar’s MacBook Pro's conflicted copy
263
+ #: 2020-03-25).php:283 dist/include/Addon/License/Licenser.php:281
264
+ #: include/Addon/License/Licenser.php:260
265
  msgid ""
266
  "Your license for %s has been deactivated. You will not receive automatic "
267
  "updates."
268
  msgstr ""
269
 
270
+ #: dist/include/Core/Request/LogListAction.php:50 dist/include/Util/helper
271
+ #: (Sudar’s MacBook Pro's conflicted copy 2020-03-25).php:344
272
+ #: dist/include/Util/helper.php:266 include/Core/Request/LogListAction.php:64
273
+ #: include/Util/helper.php:323
274
  msgid "Sent at"
275
  msgstr ""
276
 
277
+ #: dist/include/Core/Request/LogListAction.php:54 dist/include/Util/helper
278
+ #: (Sudar’s MacBook Pro's conflicted copy 2020-03-25).php:340
279
  #: dist/include/Util/helper.php:267 dist/include/Util/helper.php:268
280
+ #: include/Core/Request/LogListAction.php:68 include/Util/helper.php:319
281
  msgid "To"
282
  msgstr ""
283
 
284
+ #: dist/include/Core/Request/LogListAction.php:58 dist/include/Util/helper
285
+ #: (Sudar’s MacBook Pro's conflicted copy 2020-03-25).php:341
286
+ #: dist/include/Util/helper.php:269 include/Core/Request/LogListAction.php:72
287
+ #: include/Util/helper.php:320
288
  msgid "Subject"
289
  msgstr ""
290
 
291
  #: dist/include/Core/Request/LogListAction.php:78
292
+ #: include/Core/Request/LogListAction.php:92
293
  msgid "Raw Email Content"
294
  msgstr ""
295
 
296
  #: dist/include/Core/Request/LogListAction.php:79
297
+ #: include/Core/Request/LogListAction.php:93
298
  msgid "Preview Content as HTML"
299
  msgstr ""
300
 
301
  #: dist/include/Core/Request/LogListAction.php:92
302
+ #: include/Core/Request/LogListAction.php:106
303
  msgid "Close"
304
  msgstr ""
305
 
306
  #: dist/include/Core/Request/LogListAction.php:168
307
+ #: include/Core/Request/LogListAction.php:181
308
  msgid "There was some problem in deleting the email logs"
309
  msgstr ""
310
 
311
  #: dist/include/Core/Request/LogListAction.php:172
312
+ #: include/Core/Request/LogListAction.php:185
313
  msgid "1 email log deleted."
314
  msgid_plural "%s email logs deleted"
315
  msgstr[0] ""
316
  msgstr[1] ""
317
 
318
+ #: dist/include/Core/UI/Component/AdminUIEnhancer (Sudar’s MacBook Pro's
319
+ #: conflicted copy 2020-03-25).php:69
320
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:69
321
  #: include/Core/UI/Component/AdminUIEnhancer.php:69
322
  msgid "Buy Addons"
323
  msgstr ""
324
 
325
+ #: dist/include/Core/UI/Component/AdminUIEnhancer (Sudar’s MacBook Pro's
326
+ #: conflicted copy 2020-03-25).php:85
327
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:85
328
  #: dist/include/Core/UI/Page/LogListPage.php:68
329
  #: dist/include/Core/UI/Page/LogListPage.php:69
333
  msgid "View Logs"
334
  msgstr ""
335
 
336
+ #: dist/include/Core/UI/Component/AdminUIEnhancer (Sudar’s MacBook Pro's
337
+ #: conflicted copy 2020-03-25).php:86
338
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:86
339
  #: dist/include/Core/UI/Page/SettingsPage.php:94
340
  #: dist/include/Core/UI/Page/SettingsPage.php:95
344
  msgid "Settings"
345
  msgstr ""
346
 
347
+ #: dist/include/Core/UI/Component/AdminUIEnhancer (Sudar’s MacBook Pro's
348
+ #: conflicted copy 2020-03-25).php:109
349
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:109
350
  #: include/Core/UI/Component/AdminUIEnhancer.php:109
351
  msgid "plugin"
352
  msgstr ""
353
 
354
+ #: dist/include/Core/UI/Component/AdminUIEnhancer (Sudar’s MacBook Pro's
355
+ #: conflicted copy 2020-03-25).php:109
356
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:109
357
  #: include/Core/UI/Component/AdminUIEnhancer.php:109
358
  msgid "Version"
359
  msgstr ""
360
 
361
+ #: dist/include/Core/UI/Component/AdminUIEnhancer (Sudar’s MacBook Pro's
362
+ #: conflicted copy 2020-03-25).php:109
363
  #: dist/include/Core/UI/Component/AdminUIEnhancer.php:109
364
  #: include/Core/UI/Component/AdminUIEnhancer.php:109
365
  msgid "by"
366
  msgstr ""
367
 
368
  #: dist/include/Core/UI/Component/DashboardWidget.php:30
369
+ #: include/Core/UI/Component/DashboardWidget.php:29
370
  msgid "Email Logs Summary"
371
  msgstr ""
372
 
373
  #: dist/include/Core/UI/Component/DashboardWidget.php:44
374
+ #: include/Core/UI/Component/DashboardWidget.php:43
375
  msgid "Total number of emails logged"
376
  msgstr ""
377
 
378
  #: dist/include/Core/UI/Component/DashboardWidget.php:50
379
+ #: include/Core/UI/Component/DashboardWidget.php:57
380
  msgid "<a href=\"%s\">Email Logs</a>"
381
  msgstr ""
382
 
383
  #: dist/include/Core/UI/Component/DashboardWidget.php:51
384
+ #: include/Core/UI/Component/DashboardWidget.php:58
385
  msgid "<a href=\"%s\">Settings</a>"
386
  msgstr ""
387
 
388
  #: dist/include/Core/UI/Component/DashboardWidget.php:52
389
+ #: include/Core/UI/Component/DashboardWidget.php:59
390
  msgid "<a href=\"%s\">Addons</a>"
391
  msgstr ""
392
 
393
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
394
+ #: conflicted copy 2020-03-25).php:140
395
  #: dist/include/Core/UI/ListTable/LogListTable.php:138
396
+ #: include/Core/UI/ListTable/LogListTable.php:144
397
  msgid "%s @ %s"
398
  msgstr ""
399
 
400
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
401
+ #: conflicted copy 2020-03-25).php:158
402
  #: dist/include/Core/UI/ListTable/LogListTable.php:156
403
+ #: include/Core/UI/ListTable/LogListTable.php:162
404
  msgid "Email Content"
405
  msgstr ""
406
 
407
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
408
+ #: conflicted copy 2020-03-25).php:159
409
  #: dist/include/Core/UI/ListTable/LogListTable.php:157
410
+ #: include/Core/UI/ListTable/LogListTable.php:163
411
  msgid "View Content"
412
  msgstr ""
413
 
414
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
415
+ #: conflicted copy 2020-03-25).php:173 2020-03-25).php:279
416
  #: dist/include/Core/UI/ListTable/LogListTable.php:171
417
  #: dist/include/Core/UI/ListTable/LogListTable.php:252
418
+ #: include/Core/UI/ListTable/LogListTable.php:177
419
+ #: include/Core/UI/ListTable/LogListTable.php:292
420
  msgid "Delete"
421
  msgstr ""
422
 
423
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
424
+ #: conflicted copy 2020-03-25).php:280
425
  #: dist/include/Core/UI/ListTable/LogListTable.php:253
426
+ #: include/Core/UI/ListTable/LogListTable.php:293
427
  msgid "Delete All Logs"
428
  msgstr ""
429
 
430
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
431
+ #: conflicted copy 2020-03-25).php:313
432
  #: dist/include/Core/UI/ListTable/LogListTable.php:286
433
+ #: include/Core/UI/ListTable/LogListTable.php:326
434
  msgid "Your email log is empty"
435
  msgstr ""
436
 
437
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
438
+ #: conflicted copy 2020-03-25).php:340
439
  #: dist/include/Core/UI/ListTable/LogListTable.php:313
440
+ #: include/Core/UI/ListTable/LogListTable.php:353
441
  msgid "Search by date"
442
  msgstr ""
443
 
444
+ #: dist/include/Core/UI/ListTable/LogListTable (Sudar’s MacBook Pro's
445
+ #: conflicted copy 2020-03-25).php:341
446
  #: dist/include/Core/UI/ListTable/LogListTable.php:314
447
+ #: include/Core/UI/ListTable/LogListTable.php:354
448
  msgid "Search by term"
449
  msgstr ""
450
 
523
  msgid "Support"
524
  msgstr ""
525
 
526
+ #. #-#-#-#-# email-log.pot (Email Log 2.4.0) #-#-#-#-#
527
  #. Plugin Name of the plugin/theme
528
  #: dist/include/Core/UI/Page/LogListPage.php:57
529
  #: dist/include/Core/UI/Page/LogListPage.php:58
671
  msgstr ""
672
 
673
  #: dist/include/Core/UI/Setting/CoreSetting.php:434
674
+ #: include/Core/UI/Setting/CoreSetting.php:440
675
  msgid "Email Log Plugin: Your log threshold of %s has been met"
676
  msgstr ""
677
 
678
  #: dist/include/Core/UI/Setting/CoreSetting.php:486
679
+ #: include/Core/UI/Setting/CoreSetting.php:492
680
  msgid ""
681
  "Currently there are %1$s logged, which is more than the threshold that is "
682
  "set in the %2$s screen. You can delete some logs or increase the threshold. "
684
  msgstr ""
685
 
686
  #: dist/include/Core/UI/Setting/CoreSetting.php:487
687
+ #: include/Core/UI/Setting/CoreSetting.php:493
688
  msgid " email log"
689
  msgid_plural " email logs"
690
  msgstr[0] ""
691
  msgstr[1] ""
692
 
693
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
694
+ #: 2020-03-25).php:200 dist/include/Util/helper.php:161
695
  msgid "Auto delete logs cron will be triggered next at"
696
  msgstr ""
697
 
698
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
699
+ #: 2020-03-25).php:339 dist/include/Util/helper.php:264
700
+ #: dist/include/Util/helper.php:265 include/Util/helper.php:318
701
  msgid "ID"
702
  msgstr ""
703
 
704
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
705
+ #: 2020-03-25).php:342 dist/include/Util/helper.php:270
706
+ #: include/Util/helper.php:321
707
  msgid "Message"
708
  msgstr ""
709
 
710
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
711
+ #: 2020-03-25).php:343 dist/include/Util/helper.php:275
712
+ #: dist/include/Util/helper.php:276 include/Util/helper.php:322
713
+ msgid "Attachment"
714
+ msgstr ""
715
+
716
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
717
+ #: 2020-03-25).php:345 dist/include/Util/helper.php:271
718
+ #: include/Util/helper.php:324
719
  msgid "From"
720
  msgstr ""
721
 
722
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
723
+ #: 2020-03-25).php:346 dist/include/Util/helper.php:272
724
+ #: include/Util/helper.php:325
725
  msgid "CC"
726
  msgstr ""
727
 
728
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
729
+ #: 2020-03-25).php:347 dist/include/Util/helper.php:273
730
+ #: include/Util/helper.php:326
731
  msgid "BCC"
732
  msgstr ""
733
 
734
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
735
+ #: 2020-03-25).php:348 dist/include/Util/helper.php:274
736
+ #: include/Util/helper.php:327
737
  msgid "Reply To"
738
  msgstr ""
739
 
740
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
741
+ #: 2020-03-25).php:349 include/Util/helper.php:328
742
+ msgid "IP Address"
743
+ msgstr ""
744
+
745
+ #: dist/include/Util/helper (Sudar’s MacBook Pro's conflicted copy
746
+ #: 2020-03-25).php:350 include/Util/helper.php:329
747
+ msgid "Sent Status"
748
  msgstr ""
749
 
750
  #: dist/include/libraries/EDD_SL_Plugin_Updater.php:201
770
  msgid "Error"
771
  msgstr ""
772
 
773
+ #: dist/vendor/sudar/wp-system-info/src/SystemInfo (Sudar’s MacBook Pro's
774
+ #: conflicted copy 2020-03-25).php:79
775
  #: dist/vendor/sudar/wp-system-info/src/SystemInfo.php:78
776
  #: vendor/sudar/wp-system-info/src/SystemInfo.php:79
777
  msgid ""
779
  "(Mac)."
780
  msgstr ""
781
 
782
+ #: email-log.php:51
783
+ msgid ""
784
+ "Email Log requires at least PHP 5.6 to function properly. Please upgrade PHP "
785
+ "or use <a href=\"%s\" target=\"_blank\" rel=\"noopener\">v1.9.1 of Email "
786
+ "Log</a>."
787
  msgstr ""
788
 
789
+ #: include/Addon/Addon.php:185
790
+ msgid "Activate License"
791
+ msgstr ""
792
+
793
+ #: include/Addon/Addon.php:193
794
+ msgid "Deactivate License"
795
+ msgstr ""
796
+
797
+ #. translators: 1 Auto Delete Logs add-on name.
798
+ #: include/Addon/Upseller.php:72
799
+ msgid ""
800
+ "You have more than 5000 email logs in the database. You can use our %1s add-"
801
+ "on to automatically delete logs as the DB size grows."
802
+ msgstr ""
803
+
804
+ #: include/Addon/Upseller.php:95
805
+ msgid ""
806
+ "You can also automatically delete logs if the database size increases using "
807
+ "our %1s add-on."
808
  msgstr ""
809
 
810
  #: vendor/lucatume/wp-browser/src/data/plugins/wordpress-importer/parsers.php:42
load-email-log.php CHANGED
@@ -35,6 +35,7 @@ function load_email_log( $plugin_file ) {
35
 
36
  $loader->add_file( $plugin_dir . 'include/Util/helper.php' );
37
  $loader->add_file( $plugin_dir . 'include/Addon/addon-helper.php' );
 
38
 
39
  $loader->register();
40
 
@@ -44,6 +45,7 @@ function load_email_log( $plugin_file ) {
44
  // Loading licenser in frontend or ajax request is resulting in huge performance issues.
45
  $email_log->set_licenser( new \EmailLog\Addon\License\Licenser() );
46
 
 
47
  $email_log->add_loadie( new \EmailLog\Addon\DependencyEnforcer() );
48
  $email_log->add_loadie( new \EmailLog\Core\Request\OverridePluginAPI() );
49
  }
35
 
36
  $loader->add_file( $plugin_dir . 'include/Util/helper.php' );
37
  $loader->add_file( $plugin_dir . 'include/Addon/addon-helper.php' );
38
+ $loader->add_file( $plugin_dir . 'vendor/collizo4sky/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
39
 
40
  $loader->register();
41
 
45
  // Loading licenser in frontend or ajax request is resulting in huge performance issues.
46
  $email_log->set_licenser( new \EmailLog\Addon\License\Licenser() );
47
 
48
+ $email_log->add_loadie( new \EmailLog\Addon\Upseller() );
49
  $email_log->add_loadie( new \EmailLog\Addon\DependencyEnforcer() );
50
  $email_log->add_loadie( new \EmailLog\Core\Request\OverridePluginAPI() );
51
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: email, log, log email, resend email, multisite
4
  Requires PHP: 5.6
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
- Stable tag: 2.3.2
8
 
9
  Log and view all outgoing emails from WordPress. Works with WordPress Multisite as well.
10
 
@@ -132,6 +132,13 @@ Meanwhile, I have added a hack to handle this condition in v1.7.3 of my plugin.
132
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
133
  == Changelog ==
134
 
 
 
 
 
 
 
 
135
  = v2.3.2 – (2020-03-03) =
136
  - New: Added the ability to log BuddyPress emails which don't use wp_mail function.
137
  - New: Supports PHP 5.6 to PHP 7.4
@@ -149,8 +156,8 @@ This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/
149
  - New: Store ip address of the request that triggered the email.
150
  - New: Setting to enable notification when the number of email logs reach a threshold.
151
  - New: Dashboard Widget - Provide an option to hide Dashboard Widget from all users.
152
- - Tweak: Dashboard Widget - Add thousand separator for logs count.
153
- - Tweak: Improve preview of HTML emails.
154
  - Tweak: Enhanced the output of System Info page.
155
  - Fix: Deleting logs in bulk was not working.
156
  - Fix: Added compatibility with wp-ses plugin.
4
  Requires PHP: 5.6
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
+ Stable tag: 2.4.0
8
 
9
  Log and view all outgoing emails from WordPress. Works with WordPress Multisite as well.
10
 
132
  This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
133
  == Changelog ==
134
 
135
+ = v2.4.0 – (2020-07-05) =
136
+ - New: Capture the error message when an email fails to be delivered.
137
+ - New: Show seconds in send time.
138
+ - Tweak: Enhance the email preview screen.
139
+ - Tweak: Code enhancements for better maintenance.
140
+ - Fix: Minor CSS alignment issues in addon list page.
141
+
142
  = v2.3.2 – (2020-03-03) =
143
  - New: Added the ability to log BuddyPress emails which don't use wp_mail function.
144
  - New: Supports PHP 5.6 to PHP 7.4
156
  - New: Store ip address of the request that triggered the email.
157
  - New: Setting to enable notification when the number of email logs reach a threshold.
158
  - New: Dashboard Widget - Provide an option to hide Dashboard Widget from all users.
159
+ - Tweak: Dashboard Widget - Add a thousand separator for logs count.
160
+ - Tweak: Improve the preview of HTML emails.
161
  - Tweak: Enhanced the output of System Info page.
162
  - Fix: Deleting logs in bulk was not working.
163
  - Fix: Added compatibility with wp-ses plugin.
uninstall.php CHANGED
@@ -64,6 +64,8 @@ function email_log_delete_db_data() {
64
  $role->remove_cap( 'manage_email_logs' );
65
  }
66
  }
 
 
67
 
68
  delete_option( 'el_bundle_license' );
69
  $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'el_license_%'" );
64
  $role->remove_cap( 'manage_email_logs' );
65
  }
66
  }
67
+ // Mask Fields addon adds this option.
68
+ delete_option( 'el_mask_fields' );
69
 
70
  delete_option( 'el_bundle_license' );
71
  $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'el_license_%'" );