Postie - Version 1.9.18

Version Description

(2018-03-13) = * Fix: new signature removal logic removed line endings in some cases

Download this release

Release Info

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

Code changes from version 1.9.17 to 1.9.18

Files changed (5) hide show
  1. docs/Changes.txt +3 -0
  2. docs/Postie.txt +1 -1
  3. postie-filters.php +3 -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.17 (2018-03-12) =
39
  * Fix: Plain text with < > being processed as html causing loss of content during signature removal
40
 
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
38
+ = 1.9.18 (2018-03-13) =
39
+ * Fix: new signature removal logic removed line endings in some cases
40
+
41
  = 1.9.17 (2018-03-12) =
42
  * Fix: Plain text with < > being processed as html causing loss of content during signature removal
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.17
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.18
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
postie-filters.php CHANGED
@@ -220,10 +220,10 @@ function filter_RemoveSignature($content, $config) {
220
  break;
221
  }
222
 
223
- //DebugEcho("filter_RemoveSignature: keeping '$line'");
224
- $strcontent .= $line;
225
  }
226
- $content = $strcontent;
227
  }
228
  } else {
229
  DebugEcho("filter_RemoveSignature: configured to skip");
220
  break;
221
  }
222
 
223
+ DebugEcho("filter_RemoveSignature: keeping '$line'");
224
+ $strcontent .= $line . "\n";
225
  }
226
+ $content = trim($strcontent);
227
  }
228
  } else {
229
  DebugEcho("filter_RemoveSignature: configured to skip");
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.17
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
@@ -28,14 +28,14 @@
28
  */
29
 
30
  /*
31
- $Id: postie.php 1839068 2018-03-13 04:13:32Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
- define('POSTIE_VERSION', '1.9.17');
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.18
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
28
  */
29
 
30
  /*
31
+ $Id: postie.php 1839412 2018-03-13 14:50:53Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
+ define('POSTIE_VERSION', '1.9.18');
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.17
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.17 (2018-03-12) =
111
  * Fix: Plain text with < > being processed as html causing loss of content during signature removal
112
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 4.9
10
+ Stable tag: 1.9.18
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.18 (2018-03-13) =
111
+ * Fix: new signature removal logic removed line endings in some cases
112
+
113
  = 1.9.17 (2018-03-12) =
114
  * Fix: Plain text with < > being processed as html causing loss of content during signature removal
115