WP Mail Logging - Version 1.5.2

Version Description

Fix: Search

Download this release

Release Info

Developer No3x
Plugin Icon 128x128 WP Mail Logging
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

Files changed (3) hide show
  1. WPML_Email_Log_List.php +2 -2
  2. readme.txt +7 -1
  3. wp-mail-logging.php +1 -1
WPML_Email_Log_List.php CHANGED
@@ -138,10 +138,10 @@ class Email_Logging_ListTable extends WP_List_Table {
138
  }
139
 
140
  $order_sql = sanitize_sql_orderby( $orderby . ' ' . $order );
141
- $dataset = $wpdb->get_results( $wpdb->prepare("SELECT * FROM `$tableName` $search_query ORDER BY $order_sql LIMIT %d OFFSET %d;", $per_page, $offset), ARRAY_A );
142
 
143
  $this->set_pagination_args( array(
144
- 'total_items' => count($dataset), // the total number of items
145
  'per_page' => $per_page // number of items per page
146
  ) );
147
 
138
  }
139
 
140
  $order_sql = sanitize_sql_orderby( $orderby . ' ' . $order );
141
+ $dataset = $wpdb->get_results( "SELECT * FROM `$tableName` $search_query ORDER BY $order_sql LIMIT $per_page OFFSET $offset;", ARRAY_A);
142
 
143
  $this->set_pagination_args( array(
144
+ 'total_items' => $total_items, // the total number of items
145
  'per_page' => $per_page // number of items per page
146
  ) );
147
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ License: GPLv3
6
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
7
  Requires at least: 3.0
8
  Tested up to: 4.3.1
9
- Stable tag: 1.5.1
10
 
11
  Logs each email sent by WordPress.
12
 
@@ -44,10 +44,16 @@ The logged email has been sent by WordPress but please note this does NOT mean i
44
  3. The Settings
45
 
46
  == Upgrade Notice ==
 
 
 
47
  = 1.5.1 =
48
  Fixed security issues.
49
 
50
  == Changelog ==
 
 
 
51
  = 1.5.1, October 11, 2015 =
52
  - Tweak: Fixed security issues
53
 
6
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
7
  Requires at least: 3.0
8
  Tested up to: 4.3.1
9
+ Stable tag: 1.5.2
10
 
11
  Logs each email sent by WordPress.
12
 
44
  3. The Settings
45
 
46
  == Upgrade Notice ==
47
+ = 1.5.2 =
48
+ Fix: Search
49
+
50
  = 1.5.1 =
51
  Fixed security issues.
52
 
53
  == Changelog ==
54
+ = 1.5.2, October 16, 2015 =
55
+ - Fix: Search
56
+
57
  = 1.5.1, October 11, 2015 =
58
  - Tweak: Fixed security issues
59
 
wp-mail-logging.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Mail Logging
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-mail-logging/
5
  Support URI: https://github.com/No3x/wp-mail-logging/issues
6
- Version: 1.5.1
7
  Author: Christian Zöller
8
  Author URI: http://no3x.de/
9
  Description: Logs each email sent by WordPress.
3
  Plugin Name: WP Mail Logging
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-mail-logging/
5
  Support URI: https://github.com/No3x/wp-mail-logging/issues
6
+ Version: 1.5.2
7
  Author: Christian Zöller
8
  Author URI: http://no3x.de/
9
  Description: Logs each email sent by WordPress.