Postie - Version 1.9.52

Version Description

(2020-05-19) * Fix issue with detecting categories when there are multiple colons in the subject line

Download this release

Release Info

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

Code changes from version 1.9.51 to 1.9.52

Files changed (6) hide show
  1. docs/Changes.txt +3 -0
  2. docs/Postie.txt +1 -1
  3. postie-tags.php +1 -1
  4. postie.class.php +1 -1
  5. postie.php +2 -2
  6. 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.51 (2020-05-08)
39
  * remove ob_end_flush from log_onscreen()
40
 
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
38
+ = 1.9.52 (2020-05-19)
39
+ * Fix issue with detecting categories when there are multiple colons in the subject line
40
+
41
  = 1.9.51 (2020-05-08)
42
  * remove ob_end_flush from log_onscreen()
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: 5.4
10
- Stable tag: 1.9.51
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: 5.4
10
+ Stable tag: 1.9.52
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
postie-tags.php CHANGED
@@ -281,7 +281,7 @@ function tag_Categories(&$subject, $defaultCategoryId, $config, $post_id) {
281
  }
282
 
283
  if ($config[PostieConfigOptions::CategoryColon]) {
284
- if (preg_match('/(.+):\s?(.*)/', $subject, $matches)) { // <category>: <Subject>
285
  $matchtypes[] = array(array(0 => $matches[1] . ':'), array(1 => $matches[1]));
286
  }
287
  }
281
  }
282
 
283
  if ($config[PostieConfigOptions::CategoryColon]) {
284
+ if (preg_match('/(.+?):\s?(.*)/', $subject, $matches)) { // <category>: <Subject>
285
  $matchtypes[] = array(array(0 => $matches[1] . ':'), array(1 => $matches[1]));
286
  }
287
  }
postie.class.php CHANGED
@@ -440,7 +440,7 @@ class Postie {
440
  if (php_sapi_name() == 'cli') {
441
  print("$data\n");
442
  } else {
443
- print("<pre>{htmlspecialchars($data)}</pre>\n");
444
  }
445
  }
446
 
440
  if (php_sapi_name() == 'cli') {
441
  print("$data\n");
442
  } else {
443
+ print("<pre>" . htmlspecialchars($data) . "</pre>\n");
444
  }
445
  }
446
 
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.51
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
@@ -28,7 +28,7 @@
28
  */
29
 
30
  /*
31
- $Id: postie.php 2301300 2020-05-08 23:48:39Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
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.52
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
28
  */
29
 
30
  /*
31
+ $Id: postie.php 2308255 2020-05-19 21:57:31Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
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: 5.4
10
- Stable tag: 1.9.51
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.51 (2020-05-08)
111
  * remove ob_end_flush from log_onscreen()
112
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 5.4
10
+ Stable tag: 1.9.52
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.52 (2020-05-19)
111
+ * Fix issue with detecting categories when there are multiple colons in the subject line
112
+
113
  = 1.9.51 (2020-05-08)
114
  * remove ob_end_flush from log_onscreen()
115