Postie - Version 1.9.12

Version Description

(2017-11-15) = * Fix: use wp native function to detect MySQL version

Download this release

Release Info

Developer WayneAllen
Plugin Icon 128x128 Postie
Version 1.9.12
Comparing to
See all releases

Code changes from version 1.9.11 to 1.9.12

Files changed (5) hide show
  1. docs/Changes.txt +3 -0
  2. docs/Postie.txt +1 -1
  3. postie.class.php +2 -3
  4. postie.php +3 -3
  5. readme.txt +4 -1
docs/Changes.txt CHANGED
@@ -35,6 +35,9 @@ All script, style and body tags are stripped from html emails.
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
 
 
 
38
  = 1.9.11 (2017-11-10) =
39
  * Fix: remove encoding option, everything is UTF-8.
40
  * Feature: add MySQL version to debug output, suppress many email parsing debug messages
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
38
+ = 1.9.12 (2017-11-15) =
39
+ * Fix: use wp native function to detect MySQL version
40
+
41
  = 1.9.11 (2017-11-10) =
42
  * Fix: remove encoding option, everything is UTF-8.
43
  * Feature: add MySQL version to debug output, suppress many email parsing debug messages
docs/Postie.txt CHANGED
@@ -7,7 +7,7 @@ Tags: e-mail, email, post-by-email
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 4.8.2
10
- Stable tag: 1.9.11
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 4.8.2
10
+ Stable tag: 1.9.12
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
postie.class.php CHANGED
@@ -1468,6 +1468,7 @@ class Postie {
1468
 
1469
  function postie_environment($force_display = false) {
1470
  global $g_postie_init;
 
1471
 
1472
  DebugEcho("OS: " . php_uname(), $force_display);
1473
  DebugEcho("PHP Version: " . phpversion(), $force_display);
@@ -1479,9 +1480,7 @@ class Postie {
1479
  DebugEcho("PHP cURL version: " . $cv['version'], $force_display);
1480
  }
1481
 
1482
- $connection = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
1483
- $dbversion = mysqli_get_server_info($connection);
1484
- DebugEcho("MySQL Version: $dbversion", $force_display);
1485
 
1486
  DebugEcho("WordPress Version: " . get_bloginfo('version'), $force_display);
1487
  if (defined('MULTISITE') && MULTISITE) {
1468
 
1469
  function postie_environment($force_display = false) {
1470
  global $g_postie_init;
1471
+ global $wpdb;
1472
 
1473
  DebugEcho("OS: " . php_uname(), $force_display);
1474
  DebugEcho("PHP Version: " . phpversion(), $force_display);
1480
  DebugEcho("PHP cURL version: " . $cv['version'], $force_display);
1481
  }
1482
 
1483
+ DebugEcho("MySQL Version: ". $wpdb->db_version(), $force_display);
 
 
1484
 
1485
  DebugEcho("WordPress Version: " . get_bloginfo('version'), $force_display);
1486
  if (defined('MULTISITE') && MULTISITE) {
postie.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Postie
5
  Plugin URI: http://PostiePlugin.com/
6
  Description: Create posts via email. Significantly upgrades the Post by Email features of WordPress.
7
- Version: 1.9.11
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
@@ -28,14 +28,14 @@
28
  */
29
 
30
  /*
31
- $Id: postie.php 1763350 2017-11-10 21:05:09Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
- define('POSTIE_VERSION', '1.9.11');
39
  define('POSTIE_ROOT', dirname(__FILE__));
40
  define('POSTIE_URL', WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
41
 
4
  Plugin Name: Postie
5
  Plugin URI: http://PostiePlugin.com/
6
  Description: Create posts via email. Significantly upgrades the Post by Email features of WordPress.
7
+ Version: 1.9.12
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
28
  */
29
 
30
  /*
31
+ $Id: postie.php 1767156 2017-11-15 17:27:19Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
+ define('POSTIE_VERSION', '1.9.12');
39
  define('POSTIE_ROOT', dirname(__FILE__));
40
  define('POSTIE_URL', WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
41
 
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tags: e-mail, email, post-by-email
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 4.8.2
10
- Stable tag: 1.9.11
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -243,6 +243,9 @@ All script, style and body tags are stripped from html emails.
243
  Attachments are now processed in the order they were attached.
244
 
245
  == CHANGELOG ==
 
 
 
246
  = 1.9.11 (2017-11-10) =
247
  * Fix: remove encoding option, everything is UTF-8.
248
  * Feature: add MySQL version to debug output, suppress many email parsing debug messages
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 4.8.2
10
+ Stable tag: 1.9.12
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
243
  Attachments are now processed in the order they were attached.
244
 
245
  == CHANGELOG ==
246
+ = 1.9.12 (2017-11-15) =
247
+ * Fix: use wp native function to detect MySQL version
248
+
249
  = 1.9.11 (2017-11-10) =
250
  * Fix: remove encoding option, everything is UTF-8.
251
  * Feature: add MySQL version to debug output, suppress many email parsing debug messages