Postie - Version 1.9.14

Version Description

(2017-12-01) = * Feature: Additional logging of graphics library in use.

Download this release

Release Info

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

Code changes from version 1.9.13 to 1.9.14

Files changed (6) hide show
  1. docs/Changes.txt +3 -0
  2. docs/Installation.txt +2 -4
  3. docs/Postie.txt +1 -1
  4. postie.class.php +28 -5
  5. postie.php +3 -3
  6. readme.txt +6 -5
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.13 (2017-11-22) =
39
  * Feature: New filter postie_include_attachment to allow/prevent attachment to be added to post. See http://postieplugin.com/filter-postie_include_attachment/
40
 
35
  Attachments are now processed in the order they were attached.
36
 
37
  == CHANGELOG ==
38
+ = 1.9.14 (2017-12-01) =
39
+ * Feature: Additional logging of graphics library in use.
40
+
41
  = 1.9.13 (2017-11-22) =
42
  * Feature: New filter postie_include_attachment to allow/prevent attachment to be added to post. See http://postieplugin.com/filter-postie_include_attachment/
43
 
docs/Installation.txt CHANGED
@@ -2,8 +2,6 @@
2
  * Install Postie either via the WordPress.org plugin directory, or by uploading the files to your server.
3
  * Activate Postie through the Plugins menu in WordPress.
4
  * Configure the plugin by going to the Postie menu that appears in your admin menu.
5
- * Make sure you enter the mailserver information correctly, including the type
6
- of connection and the port number.
7
- * (Postie ignores the settings under Settings->Writing->Writing-by-Email)
8
- * More information can be found at http://PostiePlugin.com
9
 
2
  * Install Postie either via the WordPress.org plugin directory, or by uploading the files to your server.
3
  * Activate Postie through the Plugins menu in WordPress.
4
  * Configure the plugin by going to the Postie menu that appears in your admin menu.
5
+ * Make sure you enter the mailserver information correctly, including the type of connection and the port number.
6
+ * More information can be found at <a href="http://postieplugin.com/">http://postieplugin.com/</a>
 
 
7
 
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.13
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.14
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
postie.class.php CHANGED
@@ -1542,6 +1542,33 @@ class Postie {
1542
  DebugEcho("WP_MEMORY_LIMIT: 32M (default)", $force_display);
1543
  }
1544
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1545
  DebugEcho("DISABLE_WP_CRON: " . (defined('DISABLE_WP_CRON') && DISABLE_WP_CRON === true ? 'On' : 'Off'), $force_display);
1546
  DebugEcho("ALTERNATE_WP_CRON: " . (defined('ALTERNATE_WP_CRON') && ALTERNATE_WP_CRON === true ? 'On' : 'Off'), $force_display);
1547
 
@@ -1678,11 +1705,7 @@ class Postie {
1678
  DebugEcho("WordPress encoding: " . esc_attr(get_option('blog_charset')), true);
1679
  //DebugEcho("Postie encoding: " . $config['message_encoding'], true);
1680
  ?>
1681
- <h2>Images</h2>
1682
- <?php
1683
- DebugEcho("registered image sizes");
1684
- DebugDump(get_intermediate_image_sizes());
1685
- ?>
1686
  <h2>Connect to Mail Host</h2>
1687
  <?php
1688
  DebugEcho("Postie connection: " . $config['input_connection'], true);
1542
  DebugEcho("WP_MEMORY_LIMIT: 32M (default)", $force_display);
1543
  }
1544
 
1545
+ DebugEcho("imagick version: " . phpversion('imagick'), $force_display);
1546
+ DebugEcho("gd version: " . phpversion('gd'), $force_display);
1547
+
1548
+ require_once ABSPATH . WPINC . '/class-wp-image-editor.php';
1549
+ require_once ABSPATH . WPINC . '/class-wp-image-editor-gd.php';
1550
+ require_once ABSPATH . WPINC . '/class-wp-image-editor-imagick.php';
1551
+ $implementations = apply_filters('wp_image_editors', array('WP_Image_Editor_Imagick', 'WP_Image_Editor_GD'));
1552
+ foreach ($implementations as $implementation) {
1553
+ if (!call_user_func(array($implementation, 'test'))) {
1554
+ DebugEcho("image editor not supported: $implementation", $force_display);
1555
+ continue;
1556
+ } else {
1557
+ DebugEcho("image editor supported: $implementation", $force_display);
1558
+
1559
+ foreach (array('image/jpeg', 'image/png', 'image/gif') as $mtype) {
1560
+ if (!call_user_func(array($implementation, 'supports_mime_type'), $mtype)) {
1561
+ DebugEcho("image editor $implementation does not support: $mtype", $force_display);
1562
+ } else {
1563
+ DebugEcho("image editor $implementation supports: $mtype", $force_display);
1564
+ }
1565
+ }
1566
+ }
1567
+ }
1568
+
1569
+ DebugEcho("Registered image sizes", $force_display);
1570
+ DebugDump(get_intermediate_image_sizes());
1571
+
1572
  DebugEcho("DISABLE_WP_CRON: " . (defined('DISABLE_WP_CRON') && DISABLE_WP_CRON === true ? 'On' : 'Off'), $force_display);
1573
  DebugEcho("ALTERNATE_WP_CRON: " . (defined('ALTERNATE_WP_CRON') && ALTERNATE_WP_CRON === true ? 'On' : 'Off'), $force_display);
1574
 
1705
  DebugEcho("WordPress encoding: " . esc_attr(get_option('blog_charset')), true);
1706
  //DebugEcho("Postie encoding: " . $config['message_encoding'], true);
1707
  ?>
1708
+
 
 
 
 
1709
  <h2>Connect to Mail Host</h2>
1710
  <?php
1711
  DebugEcho("Postie connection: " . $config['input_connection'], true);
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.13
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
@@ -28,14 +28,14 @@
28
  */
29
 
30
  /*
31
- $Id: postie.php 1773602 2017-11-22 22:05:48Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
- define('POSTIE_VERSION', '1.9.13');
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.14
8
  Author: Wayne Allen
9
  Author URI: http://PostiePlugin.com/
10
  License: GPL3
28
  */
29
 
30
  /*
31
+ $Id: postie.php 1779782 2017-12-01 23:00:20Z WayneAllen $
32
  */
33
 
34
  if (!defined('WPINC')) {
35
  die; // Exit if accessed directly
36
  }
37
 
38
+ define('POSTIE_VERSION', '1.9.14');
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.13
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -60,10 +60,8 @@ More info at http://PostiePlugin.com/
60
  * Install Postie either via the WordPress.org plugin directory, or by uploading the files to your server.
61
  * Activate Postie through the Plugins menu in WordPress.
62
  * Configure the plugin by going to the Postie menu that appears in your admin menu.
63
- * Make sure you enter the mailserver information correctly, including the type
64
- of connection and the port number.
65
- * (Postie ignores the settings under Settings->Writing->Writing-by-Email)
66
- * More information can be found at http://PostiePlugin.com
67
 
68
  == Usage ==
69
 
@@ -109,6 +107,9 @@ All script, style and body tags are stripped from html emails.
109
  Attachments are now processed in the order they were attached.
110
 
111
  == CHANGELOG ==
 
 
 
112
  = 1.9.13 (2017-11-22) =
113
  * Feature: New filter postie_include_attachment to allow/prevent attachment to be added to post. See http://postieplugin.com/filter-postie_include_attachment/
114
 
7
  Requires PHP: 5.3
8
  Requires at least: 4.0
9
  Tested up to: 4.9
10
+ Stable tag: 1.9.14
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
60
  * Install Postie either via the WordPress.org plugin directory, or by uploading the files to your server.
61
  * Activate Postie through the Plugins menu in WordPress.
62
  * Configure the plugin by going to the Postie menu that appears in your admin menu.
63
+ * Make sure you enter the mailserver information correctly, including the type of connection and the port number.
64
+ * More information can be found at <a href="http://postieplugin.com/">http://postieplugin.com/</a>
 
 
65
 
66
  == Usage ==
67
 
107
  Attachments are now processed in the order they were attached.
108
 
109
  == CHANGELOG ==
110
+ = 1.9.14 (2017-12-01) =
111
+ * Feature: Additional logging of graphics library in use.
112
+
113
  = 1.9.13 (2017-11-22) =
114
  * Feature: New filter postie_include_attachment to allow/prevent attachment to be added to post. See http://postieplugin.com/filter-postie_include_attachment/
115