Postie - Version 1.9.21

Version Description

(2018-04-11) = * Fix: Compatibility with PHP 5.2-5.4

Download this release

Release Info

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

Code changes from version 1.9.20 to 1.9.21

Files changed (5) hide show
  1. docs/Changes.txt +3 -0
  2. docs/Postie.txt +1 -1
  3. postie-filters.php +2 -1
  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.20 (2018-04-11) =
39
  * Fix: Don't emit attachment div if there is no content after template generation
40
 
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
38
+ = 1.9.21 (2018-04-11) =
39
+ * Fix: Compatibility with PHP 5.2-5.4
40
+
41
  = 1.9.20 (2018-04-11) =
42
  * Fix: Don't emit attachment div if there is no content after template generation
43
 
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.9
10
- Stable tag: 1.9.20
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.9
10
+ Stable tag: 1.9.21
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
postie-filters.php CHANGED
@@ -70,7 +70,8 @@ function filter_AttachmentTemplates($content, $mimeDecodedEmail, $post_id, $conf
70
  }
71
  }
72
 
73
- if (!empty(trim($html))) {
 
74
  DebugEcho("filter_AttachmentTemplates: attachments generated: $html");
75
  if ($config['images_append']) {
76
  $content = $content . '<div class="postie-attachments">' . $html . '</div>';
70
  }
71
  }
72
 
73
+ $html = trim($html);
74
+ if (!empty($html)) {
75
  DebugEcho("filter_AttachmentTemplates: attachments generated: $html");
76
  if ($config['images_append']) {
77
  $content = $content . '<div class="postie-attachments">' . $html . '</div>';
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.20
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
@@ -28,14 +28,14 @@
28
  */
29
 
30
  /*
31
- $Id: postie.php 1856562 2018-04-11 15:21:57Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
- define('POSTIE_VERSION', '1.9.20');
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.21
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
28
  */
29
 
30
  /*
31
+ $Id: postie.php 1856871 2018-04-12 03:35:38Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
+ define('POSTIE_VERSION', '1.9.21');
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.9
10
- Stable tag: 1.9.20
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -107,6 +107,9 @@ All script, style and body tags are stripped from html emails.
107
  Attachments are now processed in the order they were attached.
108
 
109
  == CHANGELOG ==
 
 
 
110
  = 1.9.20 (2018-04-11) =
111
  * Fix: Don't emit attachment div if there is no content after template generation
112
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 4.9
10
+ Stable tag: 1.9.21
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
107
  Attachments are now processed in the order they were attached.
108
 
109
  == CHANGELOG ==
110
+ = 1.9.21 (2018-04-11) =
111
+ * Fix: Compatibility with PHP 5.2-5.4
112
+
113
  = 1.9.20 (2018-04-11) =
114
  * Fix: Don't emit attachment div if there is no content after template generation
115