Version Description
(2017-01-24) = * Fix bug where WordPress timezone was not being taken into effect.
Download this release
Release Info
Developer | WayneAllen |
Plugin | Postie |
Version | 1.8.26 |
Comparing to | |
See all releases |
Code changes from version 1.8.25 to 1.8.26
- docs/Changes.txt +3 -0
- docs/Postie.txt +1 -1
- postie-functions.php +8 -1
- postie.php +3 -3
- readme.txt +5 -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.8.25 (2017-01-20) =
|
39 |
* Fix bug where server settings page not compatible with PHP 5.3
|
40 |
|
35 |
Attachments are now processed in the order they were attached.
|
36 |
|
37 |
== CHANGELOG ==
|
38 |
+
= 1.8.26 (2017-01-24) =
|
39 |
+
* Fix bug where WordPress timezone was not being taken into effect.
|
40 |
+
|
41 |
= 1.8.25 (2017-01-20) =
|
42 |
* Fix bug where server settings page not compatible with PHP 5.3
|
43 |
|
docs/Postie.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.3.0
|
8 |
Tested up to: 4.7.1
|
9 |
-
Stable tag: 1.8.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.3.0
|
8 |
Tested up to: 4.7.1
|
9 |
+
Stable tag: 1.8.26
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
postie-functions.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
$Id: postie-functions.php
|
4 |
*/
|
5 |
|
6 |
class PostiePostModifiers {
|
@@ -1453,9 +1453,16 @@ function tag_Delay(&$content, $message_date = NULL, $offset = 0) {
|
|
1453 |
DebugEcho("tag_Delay: calculated delay: $delay");
|
1454 |
$content = preg_replace("/delay:$matches[1]/i", "", $content);
|
1455 |
}
|
|
|
|
|
|
|
|
|
|
|
1456 |
if (empty($message_date)) {
|
1457 |
$dateInSeconds = current_time('timestamp');
|
|
|
1458 |
} else {
|
|
|
1459 |
$dateInSeconds = strtotime($message_date);
|
1460 |
}
|
1461 |
$delayeddateInSeconds = $dateInSeconds + $delay;
|
1 |
<?php
|
2 |
/*
|
3 |
+
$Id: postie-functions.php 1581554 2017-01-24 23:21:11Z WayneAllen $
|
4 |
*/
|
5 |
|
6 |
class PostiePostModifiers {
|
1453 |
DebugEcho("tag_Delay: calculated delay: $delay");
|
1454 |
$content = preg_replace("/delay:$matches[1]/i", "", $content);
|
1455 |
}
|
1456 |
+
|
1457 |
+
$tzs = get_option('timezone_string');
|
1458 |
+
DebugEcho("tag_Delay: timezone: $tzs");
|
1459 |
+
date_default_timezone_set($tzs);
|
1460 |
+
|
1461 |
if (empty($message_date)) {
|
1462 |
$dateInSeconds = current_time('timestamp');
|
1463 |
+
DebugEcho("tag_Delay: using current date: " . date('Y-m-d H:i:s', $dateInSeconds));
|
1464 |
} else {
|
1465 |
+
DebugEcho("tag_Delay: using message date: $message_date");
|
1466 |
$dateInSeconds = strtotime($message_date);
|
1467 |
}
|
1468 |
$delayeddateInSeconds = $dateInSeconds + $delay;
|
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.8.
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://PostiePlugin.com/
|
10 |
License: GPL2
|
@@ -28,7 +28,7 @@
|
|
28 |
*/
|
29 |
|
30 |
/*
|
31 |
-
$Id: postie.php
|
32 |
*/
|
33 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "lib/fException.php");
|
34 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "lib/fUnexpectedException.php");
|
@@ -49,7 +49,7 @@ require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "lib/pPop3MailServer.php"
|
|
49 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "lib_autolink.php");
|
50 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
|
51 |
|
52 |
-
define('POSTIE_VERSION', '1.8.
|
53 |
define("POSTIE_ROOT", dirname(__FILE__));
|
54 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
55 |
|
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.8.26
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://PostiePlugin.com/
|
10 |
License: GPL2
|
28 |
*/
|
29 |
|
30 |
/*
|
31 |
+
$Id: postie.php 1581559 2017-01-24 23:22:26Z WayneAllen $
|
32 |
*/
|
33 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "lib/fException.php");
|
34 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "lib/fUnexpectedException.php");
|
49 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "lib_autolink.php");
|
50 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
|
51 |
|
52 |
+
define('POSTIE_VERSION', '1.8.26');
|
53 |
define("POSTIE_ROOT", dirname(__FILE__));
|
54 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
55 |
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.3.0
|
8 |
Tested up to: 4.7.1
|
9 |
-
Stable tag: 1.8.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -242,6 +242,9 @@ All script, style and body tags are stripped from html emails.
|
|
242 |
Attachments are now processed in the order they were attached.
|
243 |
|
244 |
== CHANGELOG ==
|
|
|
|
|
|
|
245 |
= 1.8.25 (2017-01-20) =
|
246 |
* Fix bug where server settings page not compatible with PHP 5.3
|
247 |
|
@@ -1448,3 +1451,4 @@ plugin. And the rest is history :)
|
|
1448 |
*
|
1449 |
= 0.1 - 2004-06 =
|
1450 |
* First release
|
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.3.0
|
8 |
Tested up to: 4.7.1
|
9 |
+
Stable tag: 1.8.26
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
242 |
Attachments are now processed in the order they were attached.
|
243 |
|
244 |
== CHANGELOG ==
|
245 |
+
= 1.8.26 (2017-01-24) =
|
246 |
+
* Fix bug where WordPress timezone was not being taken into effect.
|
247 |
+
|
248 |
= 1.8.25 (2017-01-20) =
|
249 |
* Fix bug where server settings page not compatible with PHP 5.3
|
250 |
|
1451 |
*
|
1452 |
= 0.1 - 2004-06 =
|
1453 |
* First release
|
1454 |
+
|