Postie - Version 1.9.58

Version Description

(2021-12-27) * deal with possibility of no post formats (reported by @rogerlos) * add surrounding div with postie-post class name for CSS rules for themes.

Download this release

Release Info

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

Code changes from version 1.9.57 to 1.9.58

config_form_message.php CHANGED
@@ -65,7 +65,7 @@
65
  <td>
66
  <select name='postie-settings[post_format]' id='postie-settings-post_format'>
67
  <?php
68
- $formats = get_theme_support('post-formats');
69
  if (is_array($formats[0])) {
70
  $formats = $formats[0];
71
  } else {
65
  <td>
66
  <select name='postie-settings[post_format]' id='postie-settings-post_format'>
67
  <?php
68
+ $formats = (array) get_theme_support('post-formats');
69
  if (is_array($formats[0])) {
70
  $formats = $formats[0];
71
  } else {
docs/Changes.txt CHANGED
@@ -35,6 +35,10 @@ 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.57 (2021-09-07)
39
  * if any attachment doesn't have a file extension use the secondary mime type
40
 
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
38
+ = 1.9.58 (2021-12-27)
39
+ * deal with possibility of no post formats (reported by @rogerlos)
40
+ * add surrounding div with postie-post class name for CSS rules for themes.
41
+
42
  = 1.9.57 (2021-09-07)
43
  * if any attachment doesn't have a file extension use the secondary mime type
44
 
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.8
10
- Stable tag: 1.9.57
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.8
10
+ Stable tag: 1.9.58
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
postie-message.php CHANGED
@@ -423,9 +423,6 @@ class PostieMessage {
423
 
424
  if (array_key_exists('message-id', $this->email['headers'])) {
425
  DebugEcho("Message Id is :" . htmlentities($this->email['headers']['message-id']));
426
- if ($fulldebugdump) {
427
- DebugDump($this->email);
428
- }
429
  }
430
 
431
  if ($fulldebugdump) {
@@ -1191,6 +1188,7 @@ class PostieMessage {
1191
  $this->content = $this->email['text'];
1192
  }
1193
  }
 
1194
  }
1195
 
1196
  /**
423
 
424
  if (array_key_exists('message-id', $this->email['headers'])) {
425
  DebugEcho("Message Id is :" . htmlentities($this->email['headers']['message-id']));
 
 
 
426
  }
427
 
428
  if ($fulldebugdump) {
1188
  $this->content = $this->email['text'];
1189
  }
1190
  }
1191
+ $this->content = '<div class="postie-post">' . $this->content . '</div>';
1192
  }
1193
 
1194
  /**
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.57
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
@@ -28,7 +28,7 @@
28
  */
29
 
30
  /*
31
- $Id: postie.php 2595331 2021-09-07 21:10:52Z 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.58
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
28
  */
29
 
30
  /*
31
+ $Id: postie.php 2649668 2021-12-27 22:44:33Z 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.8
10
- Stable tag: 1.9.57
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -107,6 +107,10 @@ 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.57 (2021-09-07)
111
  * if any attachment doesn't have a file extension use the secondary mime type
112
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 5.8
10
+ Stable tag: 1.9.58
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.58 (2021-12-27)
111
+ * deal with possibility of no post formats (reported by @rogerlos)
112
+ * add surrounding div with postie-post class name for CSS rules for themes.
113
+
114
  = 1.9.57 (2021-09-07)
115
  * if any attachment doesn't have a file extension use the secondary mime type
116