Postie - Version 1.9.61

Version Description

(2022-06-24) * Fix warning when MIME type is not recognized.

Download this release

Release Info

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

Code changes from version 1.9.60 to 1.9.61

Files changed (5) hide show
  1. docs/Changes.txt +3 -0
  2. docs/Postie.txt +1 -1
  3. postie-message.php +2 -2
  4. postie.php +2 -2
  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.60 (2022-04-13)
39
  * Add translatable strings to email notification
40
 
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
38
+ = 1.9.61 (2022-06-24)
39
+ * Fix warning when MIME type is not recognized.
40
+
41
  = 1.9.60 (2022-04-13)
42
  * Add translatable strings to email notification
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.9
10
- Stable tag: 1.9.60
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.9
10
+ Stable tag: 1.9.61
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
postie-message.php CHANGED
@@ -1002,10 +1002,10 @@ class PostieMessage {
1002
  $this->email_error("Failed to add media file: $filename", $file_id->get_error_message());
1003
  }
1004
  } else {
1005
- EchoError("$filename has an unsupported MIME type $mimetype_primary and was not added.");
1006
  DebugEcho("save_attachment: Not in supported filetype list: '$mimetype_primary'");
1007
  DebugDump($this->config['supported_file_types']);
1008
- $this->email_error("Unsupported MIME type: $mimetype_primary", "$filename has an unsupported MIME type $mimetype_primary and was not added.\nSupported types:\n" . print_r($config['supported_file_types'], true));
1009
  }
1010
  break;
1011
  }
1002
  $this->email_error("Failed to add media file: $filename", $file_id->get_error_message());
1003
  }
1004
  } else {
1005
+ EchoError("$filename has an unsupported MIME type '$mimetype_primary' and was not added.");
1006
  DebugEcho("save_attachment: Not in supported filetype list: '$mimetype_primary'");
1007
  DebugDump($this->config['supported_file_types']);
1008
+ $this->email_error("Unsupported MIME type: $mimetype_primary", "$filename has an unsupported MIME type $mimetype_primary and was not added.\nSupported types:\n" . print_r($this->config['supported_file_types'], true));
1009
  }
1010
  break;
1011
  }
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.60
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
@@ -28,7 +28,7 @@
28
  */
29
 
30
  /*
31
- $Id: postie.php 2709506 2022-04-14 03:37:38Z 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.61
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
28
  */
29
 
30
  /*
31
+ $Id: postie.php 2747733 2022-06-24 18:43:00Z 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.9
10
- Stable tag: 1.9.60
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.60 (2022-04-13)
111
  * Add translatable strings to email notification
112
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 5.9
10
+ Stable tag: 1.9.61
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.61 (2022-06-24)
111
+ * Fix warning when MIME type is not recognized.
112
+
113
  = 1.9.60 (2022-04-13)
114
  * Add translatable strings to email notification
115