Version Description
Fix issue in bulk deleting logs
=
Download this release
Release Info
Developer | sudar |
Plugin | Email Log |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- email-log.php +3 -1
- include/class-email-log-list-table.php +9 -9
- languages/email-log.pot +20 -20
- readme.txt +8 -2
email-log.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://sudarmuthu.com/wordpress/email-log
|
|
5 |
Description: Logs every email sent through WordPress. Compatible with WPMU too.
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
Author: Sudar
|
8 |
-
Version: 1.5.
|
9 |
Author URI: http://sudarmuthu.com/
|
10 |
Text Domain: email-log
|
11 |
Domain Path: languages/
|
@@ -51,6 +51,8 @@ Domain Path: languages/
|
|
51 |
2013-09-13 - v1.5.2 - (Dev time: 0.5 hours)
|
52 |
- Add the ability to override the fields displayed in the log page
|
53 |
- Add support for "More Fields" addon
|
|
|
|
|
54 |
*/
|
55 |
/* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
|
56 |
|
5 |
Description: Logs every email sent through WordPress. Compatible with WPMU too.
|
6 |
Donate Link: http://sudarmuthu.com/if-you-wanna-thank-me
|
7 |
Author: Sudar
|
8 |
+
Version: 1.5.3
|
9 |
Author URI: http://sudarmuthu.com/
|
10 |
Text Domain: email-log
|
11 |
Domain Path: languages/
|
51 |
2013-09-13 - v1.5.2 - (Dev time: 0.5 hours)
|
52 |
- Add the ability to override the fields displayed in the log page
|
53 |
- Add support for "More Fields" addon
|
54 |
+
2013-09-14 - v1.5.3 - (Dev time: 0.5 hours)
|
55 |
+
- Fix issue in bulk deleting logs
|
56 |
*/
|
57 |
/* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
|
58 |
|
include/class-email-log-list-table.php
CHANGED
@@ -234,14 +234,11 @@ class Email_Log_List_Table extends WP_List_Table {
|
|
234 |
return $actions;
|
235 |
}
|
236 |
|
237 |
-
|
238 |
-
|
239 |
-
* Optional. You can handle your bulk actions anywhere or anyhow you prefer.
|
240 |
-
* For this example package, we will handle it in the class to keep things
|
241 |
-
* clean and organized.
|
242 |
*
|
243 |
* @see $this->prepare_items()
|
244 |
-
|
245 |
function process_bulk_action() {
|
246 |
global $EmailLog;
|
247 |
global $wpdb;
|
@@ -259,9 +256,12 @@ class Email_Log_List_Table extends WP_List_Table {
|
|
259 |
$selected_ids = $ids;
|
260 |
}
|
261 |
|
262 |
-
|
263 |
-
|
264 |
-
|
|
|
|
|
|
|
265 |
} else {
|
266 |
wp_die( 'Cheating, Huh? ');
|
267 |
}
|
234 |
return $actions;
|
235 |
}
|
236 |
|
237 |
+
/**
|
238 |
+
* Handle bulk actions
|
|
|
|
|
|
|
239 |
*
|
240 |
* @see $this->prepare_items()
|
241 |
+
*/
|
242 |
function process_bulk_action() {
|
243 |
global $EmailLog;
|
244 |
global $wpdb;
|
256 |
$selected_ids = $ids;
|
257 |
}
|
258 |
|
259 |
+
// Can't use wpdb->prepare for the below query. If used it results in this bug
|
260 |
+
// https://github.com/sudar/email-log/issues/13
|
261 |
+
|
262 |
+
$selected_ids = esc_sql( $selected_ids );
|
263 |
+
|
264 |
+
$EmailLog->logs_deleted = $wpdb->query( "DELETE FROM $EmailLog->table_name where id IN ( $selected_ids )" );
|
265 |
} else {
|
266 |
wp_die( 'Cheating, Huh? ');
|
267 |
}
|
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 1.5.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
|
7 |
-
"POT-Creation-Date: 2013-09-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,77 +12,77 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: email-log.php:
|
16 |
msgid "Buy Addons"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#. #-#-#-#-# email-log.pot (Email Log 1.5.
|
20 |
#. Plugin Name of the plugin/theme
|
21 |
-
#: email-log.php:
|
22 |
msgid "Email Log"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: email-log.php:
|
26 |
msgid "Email Logs"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: email-log.php:
|
30 |
msgid "1 email log deleted."
|
31 |
msgid_plural "%s email logs deleted"
|
32 |
msgstr[0] ""
|
33 |
msgstr[1] ""
|
34 |
|
35 |
-
#: email-log.php:
|
36 |
msgid "There was some problem in deleting the email logs"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: email-log.php:
|
40 |
msgid "Search Logs"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: email-log.php:
|
44 |
msgid "About Plugin"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: email-log.php:
|
48 |
msgid ""
|
49 |
"Email Log WordPress Plugin, allows you to log all emails that are sent "
|
50 |
"through WordPress."
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: email-log.php:
|
54 |
msgid "More information"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: email-log.php:
|
58 |
msgid "Plugin Homepage/support"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: email-log.php:
|
62 |
msgid "Plugin author's blog"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: email-log.php:
|
66 |
msgid "Other Plugin's by Author"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: email-log.php:
|
70 |
msgid "Entries per page"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: email-log.php:
|
74 |
msgid "Log"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: email-log.php:
|
78 |
msgid "plugin"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: email-log.php:
|
82 |
msgid "Version"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: email-log.php:
|
86 |
msgid "by"
|
87 |
msgstr ""
|
88 |
|
2 |
# This file is distributed under the same license as the Email Log package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Email Log 1.5.3\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
|
7 |
+
"POT-Creation-Date: 2013-09-14 11:04:37+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 |
+
#: email-log.php:127
|
16 |
msgid "Buy Addons"
|
17 |
msgstr ""
|
18 |
|
19 |
+
#. #-#-#-#-# email-log.pot (Email Log 1.5.3) #-#-#-#-#
|
20 |
#. Plugin Name of the plugin/theme
|
21 |
+
#: email-log.php:137
|
22 |
msgid "Email Log"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: email-log.php:151
|
26 |
msgid "Email Logs"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: email-log.php:157
|
30 |
msgid "1 email log deleted."
|
31 |
msgid_plural "%s email logs deleted"
|
32 |
msgstr[0] ""
|
33 |
msgstr[1] ""
|
34 |
|
35 |
+
#: email-log.php:159
|
36 |
msgid "There was some problem in deleting the email logs"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: email-log.php:167
|
40 |
msgid "Search Logs"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: email-log.php:200
|
44 |
msgid "About Plugin"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: email-log.php:202
|
48 |
msgid ""
|
49 |
"Email Log WordPress Plugin, allows you to log all emails that are sent "
|
50 |
"through WordPress."
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: email-log.php:209
|
54 |
msgid "More information"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: email-log.php:210
|
58 |
msgid "Plugin Homepage/support"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: email-log.php:211
|
62 |
msgid "Plugin author's blog"
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: email-log.php:212
|
66 |
msgid "Other Plugin's by Author"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: email-log.php:219
|
70 |
msgid "Entries per page"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: email-log.php:268
|
74 |
msgid "Log"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: email-log.php:278
|
78 |
msgid "plugin"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: email-log.php:278
|
82 |
msgid "Version"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: email-log.php:278
|
86 |
msgid "by"
|
87 |
msgstr ""
|
88 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: sudar
|
|
3 |
Tags: email, wpmu, wordpress-mu, log
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.6.1
|
6 |
-
Stable tag: 1.5.
|
7 |
|
8 |
Logs every email sent through WordPress. Compatible with WPMU too.
|
9 |
|
@@ -167,10 +167,13 @@ Extract the zip file and drop the contents in the wp-content/plugins/ directory
|
|
167 |
- Fix undfined notice error. Issue #8
|
168 |
- Update screenshots. Issue #6
|
169 |
|
170 |
-
= v1.5.2 (2013-09-13) - (Dev time: 0.5 hours) =
|
171 |
- Add the ability to override the fields displayed in the log page
|
172 |
- Add support for "More Fields" addon
|
173 |
|
|
|
|
|
|
|
174 |
== Upgrade Notice ==
|
175 |
|
176 |
= 0.9.2 =
|
@@ -182,6 +185,9 @@ Added support for buying pro addons
|
|
182 |
= 1.5 =
|
183 |
Rewrote Admin interface using native tables
|
184 |
|
|
|
|
|
|
|
185 |
== Readme Generator ==
|
186 |
|
187 |
This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
|
3 |
Tags: email, wpmu, wordpress-mu, log
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.6.1
|
6 |
+
Stable tag: 1.5.3
|
7 |
|
8 |
Logs every email sent through WordPress. Compatible with WPMU too.
|
9 |
|
167 |
- Fix undfined notice error. Issue #8
|
168 |
- Update screenshots. Issue #6
|
169 |
|
170 |
+
= v1.5.2 (2013-09-13) - (Dev time: 0.5 hours) =
|
171 |
- Add the ability to override the fields displayed in the log page
|
172 |
- Add support for "More Fields" addon
|
173 |
|
174 |
+
= v1.5.3 (2013-09-14) - (Dev time: 0.5 hours) =
|
175 |
+
- Fix issue in bulk deleting logs
|
176 |
+
|
177 |
== Upgrade Notice ==
|
178 |
|
179 |
= 0.9.2 =
|
185 |
= 1.5 =
|
186 |
Rewrote Admin interface using native tables
|
187 |
|
188 |
+
= 1.5.3 =
|
189 |
+
Fix issue in bulk deleting logs
|
190 |
+
|
191 |
== Readme Generator ==
|
192 |
|
193 |
This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
|