Version Description
(2013.01.10) = * Fixed a bug with embedded CID referenced images
Download this release
Release Info
Developer | WayneAllen |
Plugin | Postie |
Version | 1.4.23 |
Comparing to | |
See all releases |
Code changes from version 1.4.22 to 1.4.23
- docs/Changes.txt +3 -0
- docs/Postie.txt +1 -1
- postie-functions.php +9 -11
- postie.php +2 -2
- readme.txt +4 -1
docs/Changes.txt
CHANGED
@@ -4,6 +4,9 @@
|
|
4 |
* Many method names have been changed as of 1.4.18. Any custom filters may need to be updated.
|
5 |
|
6 |
== CHANGELOG ==
|
|
|
|
|
|
|
7 |
= 1.4.22 (2013.01.10) =
|
8 |
* Fixed a bug where the subject was not being properly decoded when Q-encoding was used.
|
9 |
* Fixed a bug in #img# caption detection.
|
4 |
* Many method names have been changed as of 1.4.18. Any custom filters may need to be updated.
|
5 |
|
6 |
== CHANGELOG ==
|
7 |
+
= 1.4.23 (2013.01.10) =
|
8 |
+
* Fixed a bug with embedded CID referenced images
|
9 |
+
|
10 |
= 1.4.22 (2013.01.10) =
|
11 |
* Fixed a bug where the subject was not being properly decoded when Q-encoding was used.
|
12 |
* Fixed a bug in #img# caption detection.
|
docs/Postie.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5
|
9 |
-
Stable tag: 1.4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5
|
9 |
+
Stable tag: 1.4.23
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
postie-functions.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
$Id: postie-functions.php
|
5 |
*/
|
6 |
|
7 |
/* TODO
|
@@ -182,8 +182,6 @@ function PostEmail($poster, $mimeDecodedEmail, $config) {
|
|
182 |
|
183 |
$subject = GetSubject($mimeDecodedEmail, $content, $config);
|
184 |
|
185 |
-
$customImages = SpecialMessageParsing($content, $attachments, $config);
|
186 |
-
|
187 |
$post_excerpt = tag_Excerpt($content, $filternewlines, $convertnewline);
|
188 |
|
189 |
$postAuthorDetails = getPostAuthorDetails($subject, $content, $mimeDecodedEmail);
|
@@ -210,12 +208,14 @@ function PostEmail($poster, $mimeDecodedEmail, $config) {
|
|
210 |
$post_categories = tag_categories($subject, $default_post_category);
|
211 |
$post_tags = tag_Tags($content, $default_post_tags);
|
212 |
|
|
|
|
|
213 |
if ($converturls) {
|
214 |
$content = filter_Videos($content, $shortcode); //videos first so linkify doesn't mess with them
|
215 |
$content = filter_linkify($content);
|
216 |
}
|
217 |
|
218 |
-
$
|
219 |
|
220 |
if ((empty($id) || is_null($id))) {
|
221 |
$id = $post_id;
|
@@ -375,9 +375,7 @@ function filter_Videos($text, $shortcode = false) {
|
|
375 |
|
376 |
$html = str_get_html($text);
|
377 |
if ($html) {
|
378 |
-
DebugEcho("filter_Videos: " . $html->save());
|
379 |
foreach ($html->find('text') as $element) {
|
380 |
-
DebugEcho("filter_Videos (i): '{$element->innertext}'");
|
381 |
$element->innertext = linkifyVideo($element->innertext, $shortcode);
|
382 |
}
|
383 |
$ret = $html->save();
|
@@ -2739,23 +2737,23 @@ function SpecialMessageParsing(&$content, &$attachments, $config) {
|
|
2739 |
}
|
2740 |
if ($message_start) {
|
2741 |
$content = filter_start($content, $message_start);
|
2742 |
-
DebugEcho("post start: $content");
|
2743 |
}
|
2744 |
if ($message_end) {
|
2745 |
$content = filter_end($content, $message_end);
|
2746 |
-
DebugEcho("post end: $content");
|
2747 |
}
|
2748 |
if ($drop_signature) {
|
2749 |
$content = filter_RemoveSignature($content, $sig_pattern_list);
|
2750 |
-
DebugEcho("post signature: $content");
|
2751 |
}
|
2752 |
if ($prefer_text_type == "html" && count($attachments["cids"])) {
|
2753 |
filter_ReplaceImageCIDs($content, $attachments);
|
2754 |
-
DebugEcho("post CIDs: $content");
|
2755 |
}
|
2756 |
if (!$custom_image_field) {
|
2757 |
filter_ReplaceImagePlaceHolders($content, $attachments["html"], $config);
|
2758 |
-
DebugEcho("post placeholders: $content");
|
2759 |
} else {
|
2760 |
$customImages = array();
|
2761 |
//DebugEcho("Looking for custom images");
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
$Id: postie-functions.php 651010 2013-01-10 20:22:44Z WayneAllen $
|
5 |
*/
|
6 |
|
7 |
/* TODO
|
182 |
|
183 |
$subject = GetSubject($mimeDecodedEmail, $content, $config);
|
184 |
|
|
|
|
|
185 |
$post_excerpt = tag_Excerpt($content, $filternewlines, $convertnewline);
|
186 |
|
187 |
$postAuthorDetails = getPostAuthorDetails($subject, $content, $mimeDecodedEmail);
|
208 |
$post_categories = tag_categories($subject, $default_post_category);
|
209 |
$post_tags = tag_Tags($content, $default_post_tags);
|
210 |
|
211 |
+
$comment_status = tag_AllowCommentsOnPost($content);
|
212 |
+
|
213 |
if ($converturls) {
|
214 |
$content = filter_Videos($content, $shortcode); //videos first so linkify doesn't mess with them
|
215 |
$content = filter_linkify($content);
|
216 |
}
|
217 |
|
218 |
+
$customImages = SpecialMessageParsing($content, $attachments, $config);
|
219 |
|
220 |
if ((empty($id) || is_null($id))) {
|
221 |
$id = $post_id;
|
375 |
|
376 |
$html = str_get_html($text);
|
377 |
if ($html) {
|
|
|
378 |
foreach ($html->find('text') as $element) {
|
|
|
379 |
$element->innertext = linkifyVideo($element->innertext, $shortcode);
|
380 |
}
|
381 |
$ret = $html->save();
|
2737 |
}
|
2738 |
if ($message_start) {
|
2739 |
$content = filter_start($content, $message_start);
|
2740 |
+
//DebugEcho("post start: $content");
|
2741 |
}
|
2742 |
if ($message_end) {
|
2743 |
$content = filter_end($content, $message_end);
|
2744 |
+
//DebugEcho("post end: $content");
|
2745 |
}
|
2746 |
if ($drop_signature) {
|
2747 |
$content = filter_RemoveSignature($content, $sig_pattern_list);
|
2748 |
+
//DebugEcho("post signature: $content");
|
2749 |
}
|
2750 |
if ($prefer_text_type == "html" && count($attachments["cids"])) {
|
2751 |
filter_ReplaceImageCIDs($content, $attachments);
|
2752 |
+
//DebugEcho("post CIDs: $content");
|
2753 |
}
|
2754 |
if (!$custom_image_field) {
|
2755 |
filter_ReplaceImagePlaceHolders($content, $attachments["html"], $config);
|
2756 |
+
//DebugEcho("post placeholders: $content");
|
2757 |
} else {
|
2758 |
$customImages = array();
|
2759 |
//DebugEcho("Looking for custom images");
|
postie.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://wordpress.org/support/plugin/postie'>postie forum</a> for support.
|
7 |
-
Version: 1.4.
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
@@ -27,7 +27,7 @@
|
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
-
$Id: postie.php
|
31 |
* -= Requests Pending =-
|
32 |
* Problem with some mail server
|
33 |
* Multiple emails should tie to a single account
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://wordpress.org/support/plugin/postie'>postie forum</a> for support.
|
7 |
+
Version: 1.4.23
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
+
$Id: postie.php 651010 2013-01-10 20:22:44Z WayneAllen $
|
31 |
* -= Requests Pending =-
|
32 |
* Problem with some mail server
|
33 |
* Multiple emails should tie to a single account
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5
|
9 |
-
Stable tag: 1.4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -374,6 +374,9 @@ It is also possible to turn the WordPress cron off. Please make sure something l
|
|
374 |
* Many method names have been changed as of 1.4.18. Any custom filters may need to be updated.
|
375 |
|
376 |
== CHANGELOG ==
|
|
|
|
|
|
|
377 |
= 1.4.22 (2013.01.10) =
|
378 |
* Fixed a bug where the subject was not being properly decoded when Q-encoding was used.
|
379 |
* Fixed a bug in #img# caption detection.
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5
|
9 |
+
Stable tag: 1.4.23
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
374 |
* Many method names have been changed as of 1.4.18. Any custom filters may need to be updated.
|
375 |
|
376 |
== CHANGELOG ==
|
377 |
+
= 1.4.23 (2013.01.10) =
|
378 |
+
* Fixed a bug with embedded CID referenced images
|
379 |
+
|
380 |
= 1.4.22 (2013.01.10) =
|
381 |
* Fixed a bug where the subject was not being properly decoded when Q-encoding was used.
|
382 |
* Fixed a bug in #img# caption detection.
|