Version Description
(2019-11-13) = * Fix issue with class-oembed.php upgrade
Download this release
Release Info
Developer | WayneAllen |
Plugin | Postie |
Version | 1.9.40 |
Comparing to | |
See all releases |
Code changes from version 1.9.39 to 1.9.40
- docs/Changes.txt +3 -0
- docs/Postie.txt +1 -1
- postie.class.php +7 -3
- postie.php +3 -3
- 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.39 (2019-11-12) =
|
39 |
* Add Site Health checks
|
40 |
* PHP 7.3 compatibility
|
35 |
Attachments are now processed in the order they were attached.
|
36 |
|
37 |
== CHANGELOG ==
|
38 |
+
= 1.9.40 (2019-11-13) =
|
39 |
+
* Fix issue with class-oembed.php upgrade
|
40 |
+
|
41 |
= 1.9.39 (2019-11-12) =
|
42 |
* Add Site Health checks
|
43 |
* PHP 7.3 compatibility
|
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.3
|
10 |
-
Stable tag: 1.9.
|
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.3
|
10 |
+
Stable tag: 1.9.40
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
postie.class.php
CHANGED
@@ -21,13 +21,17 @@ require_once(ABSPATH . 'wp-admin/includes/image.php');
|
|
21 |
require_once(ABSPATH . 'wp-admin/includes/media.php');
|
22 |
require_once(ABSPATH . 'wp-admin/includes/file.php'); //wp_tempnam()
|
23 |
|
24 |
-
|
|
|
|
|
|
|
|
|
25 |
|
26 |
if (!function_exists('file_get_html')) {
|
27 |
-
DebugEcho('Including Postie simple_html_dom');
|
28 |
require_once (plugin_dir_path(__FILE__) . 'lib/simple_html_dom.php');
|
29 |
} else {
|
30 |
-
DebugEcho('non-Postie simple_html_dom already loaded');
|
31 |
}
|
32 |
|
33 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-filters.php");
|
21 |
require_once(ABSPATH . 'wp-admin/includes/media.php');
|
22 |
require_once(ABSPATH . 'wp-admin/includes/file.php'); //wp_tempnam()
|
23 |
|
24 |
+
if (version_compare($wp_version, '5.3') == -1) {
|
25 |
+
require_once( ABSPATH . WPINC . '/class-oembed.php' );
|
26 |
+
} else {
|
27 |
+
require_once( ABSPATH . WPINC . '/class-wp-oembed.php' );
|
28 |
+
}
|
29 |
|
30 |
if (!function_exists('file_get_html')) {
|
31 |
+
//DebugEcho('Including Postie simple_html_dom');
|
32 |
require_once (plugin_dir_path(__FILE__) . 'lib/simple_html_dom.php');
|
33 |
} else {
|
34 |
+
//DebugEcho('non-Postie simple_html_dom already loaded');
|
35 |
}
|
36 |
|
37 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-filters.php");
|
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.
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://PostiePlugin.com/
|
10 |
License: GPL3
|
@@ -28,14 +28,14 @@
|
|
28 |
*/
|
29 |
|
30 |
/*
|
31 |
-
$Id: postie.php
|
32 |
*/
|
33 |
|
34 |
if (!defined('WPINC')) {
|
35 |
die; // Exit if accessed directly
|
36 |
}
|
37 |
|
38 |
-
define('POSTIE_VERSION', '1.9.
|
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.40
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://PostiePlugin.com/
|
10 |
License: GPL3
|
28 |
*/
|
29 |
|
30 |
/*
|
31 |
+
$Id: postie.php 2191909 2019-11-13 15:58:14Z WayneAllen $
|
32 |
*/
|
33 |
|
34 |
if (!defined('WPINC')) {
|
35 |
die; // Exit if accessed directly
|
36 |
}
|
37 |
|
38 |
+
define('POSTIE_VERSION', '1.9.40');
|
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: 5.3
|
10 |
-
Stable tag: 1.9.
|
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.39 (2019-11-12) =
|
111 |
* Add Site Health checks
|
112 |
* PHP 7.3 compatibility
|
7 |
Requires PHP: 5.3
|
8 |
Requires at least: 4.0
|
9 |
Tested up to: 5.3
|
10 |
+
Stable tag: 1.9.40
|
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.40 (2019-11-13) =
|
111 |
+
* Fix issue with class-oembed.php upgrade
|
112 |
+
|
113 |
= 1.9.39 (2019-11-12) =
|
114 |
* Add Site Health checks
|
115 |
* PHP 7.3 compatibility
|