Version Description
(2015-03-04) = * Remove "Wrap content in pre tags" option as it was defaulted to "yes" but never correctly applied. * Allow time correction values of 0.5 * New setting: "Treat Replies As" allows user to specify if replies should be processed as comments or new posts. * Fix bug in reply detection * Fix bug when saving custom image field and there was only 1 image
Download this release
Release Info
Developer | WayneAllen |
Plugin | Postie |
Version | 1.6.15 |
Comparing to | |
See all releases |
Code changes from version 1.6.14 to 1.6.15
- config_form.php +14 -14
- docs/Changes.txt +7 -0
- docs/Installation.txt +5 -9
- docs/Postie.txt +2 -2
- postie-functions.php +37 -47
- postie.php +3 -3
- readme.txt +14 -11
config_form.php
CHANGED
@@ -144,7 +144,7 @@
|
|
144 |
</td>
|
145 |
</tr>
|
146 |
|
147 |
-
<?php echo BuildBooleanSelect(__("Use Transport Layer Security (TLS)", "postie"), 'postie-settings[email_tls]', $email_tls, __("Choose Yes if your server
|
148 |
|
149 |
<tr>
|
150 |
<th scope="row"><label for="postie-settings-mail_server_port"><?php _e('Port', 'postie') ?></label></th>
|
@@ -174,9 +174,8 @@
|
|
174 |
</td>
|
175 |
</tr>
|
176 |
<tr>
|
177 |
-
<th scope="row"><?php _e('Postie Time Correction', 'postie')
|
178 |
-
|
179 |
-
<td><input style="width: 50px;" name='postie-settings[time_offset]' type="number" id='postie-settings-time_offset' size="2" value="<?php echo esc_attr($time_offset); ?>" />
|
180 |
<?php _e('hours', 'postie') ?>
|
181 |
<p class='description'><?php _e("Should be the same as your normal offset, but this lets you adjust it in cases where that doesn't work.", 'postie'); ?></p>
|
182 |
</td>
|
@@ -313,6 +312,15 @@
|
|
313 |
|
314 |
<div id = "simpleTabs-content-3" class = "simpleTabs-content">
|
315 |
<table class = 'form-table'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
<tr valign = "top">
|
317 |
<th scope = "row"><?php _e('Default category', 'postie') ?></th>
|
318 |
<td>
|
@@ -403,15 +411,8 @@
|
|
403 |
<input name='postie-settings[default_title]' type="text" id='postie-settings-default_title' value="<?php echo esc_attr($default_title); ?>" size="50" /><br />
|
404 |
</td>
|
405 |
</tr>
|
406 |
-
|
407 |
-
|
408 |
-
<td>
|
409 |
-
<select name='postie-settings[prefer_text_type]' id='postie-settings-prefer_text_type'>
|
410 |
-
<?php printf('<option value="plain" %s>plain</option>', ($prefer_text_type == "plain") ? "selected" : "") ?>
|
411 |
-
<?php printf('<option value="html" %s>html</option>', ($prefer_text_type == "html") ? "selected" : "") ?>
|
412 |
-
</select>
|
413 |
-
</td>
|
414 |
-
</tr>
|
415 |
<?php echo BuildBooleanSelect(__("Forward Rejected Mail", "postie"), "postie-settings[forward_rejected_mail]", $forward_rejected_mail); ?>
|
416 |
<?php echo BuildBooleanSelect(__("Allow Subject In Mail", "postie"), "postie-settings[allow_subject_in_mail]", $allow_subject_in_mail, "Enclose the subject between '#' on the very first line. E.g. #this is my subject#"); ?>
|
417 |
<?php echo BuildBooleanSelect(__("Allow HTML In Mail Subject", "postie"), "postie-settings[allow_html_in_subject]", $allow_html_in_subject); ?>
|
@@ -432,7 +433,6 @@
|
|
432 |
</tr>
|
433 |
|
434 |
<?php
|
435 |
-
echo BuildBooleanSelect(__("Wrap content in pre tags", "postie"), "postie-settings[wrap_pre]", $wrap_pre);
|
436 |
echo BuildBooleanSelect(__("Filter newlines", "postie"), "postie-settings[filternewlines]", $filternewlines, __("Retain newlines from plain text. Set to no if using markdown or textitle syntax", "postie"));
|
437 |
echo BuildBooleanSelect(__("Replace newline characters with html line breaks (<br />)", "postie"), "postie-settings[convertnewline]", $convertnewline, __("Filter newlines must be turned on for this option to take effect", "postie"));
|
438 |
echo BuildBooleanSelect(__("Return rejected mail to sender", "postie"), "postie-settings[return_to_sender]", $return_to_sender);
|
144 |
</td>
|
145 |
</tr>
|
146 |
|
147 |
+
<?php echo BuildBooleanSelect(__("Use Transport Layer Security (TLS)", "postie"), 'postie-settings[email_tls]', $email_tls, __("Choose Yes if your server requires TLS", "postie")); ?>
|
148 |
|
149 |
<tr>
|
150 |
<th scope="row"><label for="postie-settings-mail_server_port"><?php _e('Port', 'postie') ?></label></th>
|
174 |
</td>
|
175 |
</tr>
|
176 |
<tr>
|
177 |
+
<th scope="row"><?php _e('Postie Time Correction', 'postie') ?></th>
|
178 |
+
<td><input style="width: 70px;" name='postie-settings[time_offset]' type="number" step="0.5" id='postie-settings-time_offset' size="2" value="<?php echo esc_attr($time_offset); ?>" />
|
|
|
179 |
<?php _e('hours', 'postie') ?>
|
180 |
<p class='description'><?php _e("Should be the same as your normal offset, but this lets you adjust it in cases where that doesn't work.", 'postie'); ?></p>
|
181 |
</td>
|
312 |
|
313 |
<div id = "simpleTabs-content-3" class = "simpleTabs-content">
|
314 |
<table class = 'form-table'>
|
315 |
+
<tr>
|
316 |
+
<th scope="row"><?php _e('Preferred Text Type', 'postie') ?> </th>
|
317 |
+
<td>
|
318 |
+
<select name='postie-settings[prefer_text_type]' id='postie-settings-prefer_text_type'>
|
319 |
+
<?php printf('<option value="plain" %s>plain</option>', ($prefer_text_type == "plain") ? "selected" : "") ?>
|
320 |
+
<?php printf('<option value="html" %s>html</option>', ($prefer_text_type == "html") ? "selected" : "") ?>
|
321 |
+
</select>
|
322 |
+
</td>
|
323 |
+
</tr>
|
324 |
<tr valign = "top">
|
325 |
<th scope = "row"><?php _e('Default category', 'postie') ?></th>
|
326 |
<td>
|
411 |
<input name='postie-settings[default_title]' type="text" id='postie-settings-default_title' value="<?php echo esc_attr($default_title); ?>" size="50" /><br />
|
412 |
</td>
|
413 |
</tr>
|
414 |
+
|
415 |
+
<?php echo BuildBooleanSelect(__("Treat Replies As", "postie"), "postie-settings[reply_as_comment]", $reply_as_comment, "", array("comments","new posts")); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
416 |
<?php echo BuildBooleanSelect(__("Forward Rejected Mail", "postie"), "postie-settings[forward_rejected_mail]", $forward_rejected_mail); ?>
|
417 |
<?php echo BuildBooleanSelect(__("Allow Subject In Mail", "postie"), "postie-settings[allow_subject_in_mail]", $allow_subject_in_mail, "Enclose the subject between '#' on the very first line. E.g. #this is my subject#"); ?>
|
418 |
<?php echo BuildBooleanSelect(__("Allow HTML In Mail Subject", "postie"), "postie-settings[allow_html_in_subject]", $allow_html_in_subject); ?>
|
433 |
</tr>
|
434 |
|
435 |
<?php
|
|
|
436 |
echo BuildBooleanSelect(__("Filter newlines", "postie"), "postie-settings[filternewlines]", $filternewlines, __("Retain newlines from plain text. Set to no if using markdown or textitle syntax", "postie"));
|
437 |
echo BuildBooleanSelect(__("Replace newline characters with html line breaks (<br />)", "postie"), "postie-settings[convertnewline]", $convertnewline, __("Filter newlines must be turned on for this option to take effect", "postie"));
|
438 |
echo BuildBooleanSelect(__("Return rejected mail to sender", "postie"), "postie-settings[return_to_sender]", $return_to_sender);
|
docs/Changes.txt
CHANGED
@@ -27,6 +27,13 @@ All script, style and body tags are stripped from html emails.
|
|
27 |
Attachments are now processed in the order they were attached.
|
28 |
|
29 |
== CHANGELOG ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
= 1.6.14 (2015-02-26) =
|
31 |
* Fully support custom taxonomies
|
32 |
|
27 |
Attachments are now processed in the order they were attached.
|
28 |
|
29 |
== CHANGELOG ==
|
30 |
+
= 1.6.15 (2015-03-04) =
|
31 |
+
* Remove "Wrap content in pre tags" option as it was defaulted to "yes" but never correctly applied.
|
32 |
+
* Allow time correction values of 0.5
|
33 |
+
* New setting: "Treat Replies As" allows user to specify if replies should be processed as comments or new posts.
|
34 |
+
* Fix bug in reply detection
|
35 |
+
* Fix bug when saving custom image field and there was only 1 image
|
36 |
+
|
37 |
= 1.6.14 (2015-02-26) =
|
38 |
* Fully support custom taxonomies
|
39 |
|
docs/Installation.txt
CHANGED
@@ -1,12 +1,8 @@
|
|
1 |
== Installation ==
|
2 |
-
*
|
3 |
-
|
4 |
-
*
|
5 |
-
* Use the automatic installer (WP 2.7+)
|
6 |
-
* Login to WordPress as an administrator
|
7 |
-
* Goto the Plugins tab in the WordPress Admin Site
|
8 |
-
* Activate "Postie"
|
9 |
-
* Goto to the "Settings" tab and click on the sub-tab "Postie" to configure it.
|
10 |
* Make sure you enter the mailserver information correctly, including the type
|
11 |
-
of connection and the port number.
|
12 |
* (Postie ignores the settings under Settings->Writing->Writing-by-Email)
|
|
1 |
== Installation ==
|
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
|
docs/Postie.txt
CHANGED
@@ -5,8 +5,8 @@ Author URI: http://allens-home.com/
|
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
-
Tested up to: 4.1
|
9 |
-
Stable tag: 1.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
+
Tested up to: 4.1.1
|
9 |
+
Stable tag: 1.6.15
|
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 |
//to turn on debug output add the following line to wp-config.php
|
@@ -332,44 +332,33 @@ function CreatePost($poster, $mimeDecodedEmail, $post_id, &$is_reply, $config, $
|
|
332 |
DebugEcho("post custom: $content");
|
333 |
}
|
334 |
|
335 |
-
$
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
DebugEcho("Adding meta");
|
342 |
-
if ($config['wrap_pre'] == 'yes') {
|
343 |
-
DebugEcho("Adding <pre>");
|
344 |
-
$content = $postAuthorDetails['content'] . "<pre>\n" . $content . "</pre>\n";
|
345 |
-
$content = "<pre>\n" . $content . "</pre>\n";
|
346 |
-
} else {
|
347 |
-
$content = $postAuthorDetails['content'] . $content;
|
348 |
-
$content = $content;
|
349 |
-
}
|
350 |
} else {
|
351 |
-
|
352 |
-
|
353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
}
|
|
|
|
|
355 |
}
|
356 |
} else {
|
357 |
-
|
358 |
-
|
359 |
-
// strip out quoted content
|
360 |
-
$lines = explode("\n", $content);
|
361 |
-
$newContents = '';
|
362 |
-
foreach ($lines as $line) {
|
363 |
-
if (preg_match("/^>.*/i", $line) == 0 &&
|
364 |
-
preg_match("/^(from|subject|to|date):.*?/i", $line) == 0 &&
|
365 |
-
preg_match("/^-+.*?(from|subject|to|date).*?/i", $line) == 0 &&
|
366 |
-
preg_match("/^on.*?wrote:$/i", $line) == 0 &&
|
367 |
-
preg_match("/^-+\s*forwarded\s*message\s*-+/i", $line) == 0) {
|
368 |
-
$newContents.="$line\n";
|
369 |
-
}
|
370 |
-
}
|
371 |
-
$content = $newContents;
|
372 |
-
wp_delete_post($post_id);
|
373 |
}
|
374 |
|
375 |
if ($delay != 0 && $post_status == 'publish') {
|
@@ -721,10 +710,9 @@ function GetParentPostForReply(&$subject) {
|
|
721 |
$tmpSubject = trim($tmpSubject_matches[1]);
|
722 |
}
|
723 |
DebugEcho("GetParentPostForReply: tmpSubject: $tmpSubject");
|
724 |
-
$checkExistingPostQuery = "SELECT ID FROM $wpdb->posts WHERE post_title
|
725 |
if ($id = $wpdb->get_var($wpdb->prepare($checkExistingPostQuery, $tmpSubject))) {
|
726 |
-
if (
|
727 |
-
$id = $id[count($id) - 1];
|
728 |
DebugEcho("GetParentPostForReply: id: $id");
|
729 |
} else {
|
730 |
DebugEcho("GetParentPostForReply: No parent id found");
|
@@ -938,10 +926,11 @@ function PostToDB($details, $isReply, $customImageField, $postmodifiers) {
|
|
938 |
DebugEcho("Saving custom image fields");
|
939 |
//DebugDump($details['customImages']);
|
940 |
|
941 |
-
if (count($details['customImages']) >
|
942 |
$imageField = 1;
|
943 |
foreach ($details['customImages'] as $image) {
|
944 |
-
add_post_meta($post_ID, 'image'
|
|
|
945 |
$imageField++;
|
946 |
}
|
947 |
}
|
@@ -1490,7 +1479,7 @@ function isValidSmtpServer($mimeDecodedEmail, $smtpservers) {
|
|
1490 |
*/
|
1491 |
function filter_Start(&$content, $config) {
|
1492 |
$start = $config['message_start'];
|
1493 |
-
if ($start) {
|
1494 |
$pos = strpos($content, $start);
|
1495 |
if ($pos === false) {
|
1496 |
return $content;
|
@@ -1579,7 +1568,7 @@ function filter_RemoveSignatureWorker(&$html, $pattern) {
|
|
1579 |
*/
|
1580 |
function filter_End(&$content, $config) {
|
1581 |
$end = $config['message_end'];
|
1582 |
-
if ($end) {
|
1583 |
$pos = strpos($content, $end);
|
1584 |
if ($pos === false) {
|
1585 |
return $content;
|
@@ -2970,7 +2959,8 @@ function config_GetDefaults() {
|
|
2970 |
'generaltemplates' => $generalTemplates,
|
2971 |
'generaltemplate' => $postie_default,
|
2972 |
'selected_generaltemplate' => 'postie_default',
|
2973 |
-
'generate_thumbnails' => true
|
|
|
2974 |
);
|
2975 |
}
|
2976 |
|
@@ -3214,7 +3204,7 @@ function config_UpgradeOld() {
|
|
3214 |
*/
|
3215 |
function config_GetOld() {
|
3216 |
$config = config_UpgradeOld();
|
3217 |
-
//These should only be modified if you are testing
|
3218 |
$config["DELETE_MAIL_AFTER_PROCESSING"] = true;
|
3219 |
$config["POST_TO_DB"] = true;
|
3220 |
$config["TEST_EMAIL"] = false;
|
@@ -3223,8 +3213,8 @@ function config_GetOld() {
|
|
3223 |
if (file_exists(POSTIE_ROOT . '/postie_test_variables.php')) {
|
3224 |
include(POSTIE_ROOT . '/postie_test_variables.php');
|
3225 |
}
|
3226 |
-
//include(POSTIE_ROOT . "/../postie-test.php");
|
3227 |
-
// These are computed
|
3228 |
$config["TIME_OFFSET"] = get_option('gmt_offset');
|
3229 |
$config["POSTIE_ROOT"] = POSTIE_ROOT;
|
3230 |
for ($i = 0; $i < count($config["AUTHORIZED_ADDRESSES"]); $i++) {
|
@@ -3418,7 +3408,7 @@ function tag_CustomImageField(&$content, &$attachments, $config) {
|
|
3418 |
$customImages = array();
|
3419 |
if ($config['custom_image_field']) {
|
3420 |
DebugEcho("Looking for custom images");
|
3421 |
-
|
3422 |
|
3423 |
foreach ($attachments["html"] as $key => $value) {
|
3424 |
//DebugEcho("checking " . htmlentities($value));
|
1 |
<?php
|
2 |
/*
|
3 |
+
$Id: postie-functions.php 1105352 2015-03-04 19:24:11Z WayneAllen $
|
4 |
*/
|
5 |
|
6 |
//to turn on debug output add the following line to wp-config.php
|
332 |
DebugEcho("post custom: $content");
|
333 |
}
|
334 |
|
335 |
+
if ($config['reply_as_comment'] == true) {
|
336 |
+
$id = GetParentPostForReply($subject);
|
337 |
+
if (empty($id)) {
|
338 |
+
DebugEcho("Not a reply");
|
339 |
+
$id = $post_id;
|
340 |
+
$is_reply = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
} else {
|
342 |
+
DebugEcho("Reply detected");
|
343 |
+
$is_reply = true;
|
344 |
+
// strip out quoted content
|
345 |
+
$lines = explode("\n", $content);
|
346 |
+
$newContents = '';
|
347 |
+
foreach ($lines as $line) {
|
348 |
+
if (preg_match("/^>.*/i", $line) == 0 &&
|
349 |
+
preg_match("/^(from|subject|to|date):.*?/i", $line) == 0 &&
|
350 |
+
preg_match("/^-+.*?(from|subject|to|date).*?/i", $line) == 0 &&
|
351 |
+
preg_match("/^on.*?wrote:$/i", $line) == 0 &&
|
352 |
+
preg_match("/^-+\s*forwarded\s*message\s*-+/i", $line) == 0) {
|
353 |
+
$newContents.="$line\n";
|
354 |
+
}
|
355 |
}
|
356 |
+
$content = $newContents;
|
357 |
+
wp_delete_post($post_id);
|
358 |
}
|
359 |
} else {
|
360 |
+
$id = $post_id;
|
361 |
+
DebugEcho("Replies will not be processed as comments");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
}
|
363 |
|
364 |
if ($delay != 0 && $post_status == 'publish') {
|
710 |
$tmpSubject = trim($tmpSubject_matches[1]);
|
711 |
}
|
712 |
DebugEcho("GetParentPostForReply: tmpSubject: $tmpSubject");
|
713 |
+
$checkExistingPostQuery = "SELECT ID FROM $wpdb->posts WHERE post_title LIKE %s AND post_status = 'publish'";
|
714 |
if ($id = $wpdb->get_var($wpdb->prepare($checkExistingPostQuery, $tmpSubject))) {
|
715 |
+
if (!empty($id)) {
|
|
|
716 |
DebugEcho("GetParentPostForReply: id: $id");
|
717 |
} else {
|
718 |
DebugEcho("GetParentPostForReply: No parent id found");
|
926 |
DebugEcho("Saving custom image fields");
|
927 |
//DebugDump($details['customImages']);
|
928 |
|
929 |
+
if (count($details['customImages']) > 0) {
|
930 |
$imageField = 1;
|
931 |
foreach ($details['customImages'] as $image) {
|
932 |
+
add_post_meta($post_ID, 'image', $image);
|
933 |
+
DebugEcho("Saving custom image 'image$imageField'");
|
934 |
$imageField++;
|
935 |
}
|
936 |
}
|
1479 |
*/
|
1480 |
function filter_Start(&$content, $config) {
|
1481 |
$start = $config['message_start'];
|
1482 |
+
if (!empty($start)) {
|
1483 |
$pos = strpos($content, $start);
|
1484 |
if ($pos === false) {
|
1485 |
return $content;
|
1568 |
*/
|
1569 |
function filter_End(&$content, $config) {
|
1570 |
$end = $config['message_end'];
|
1571 |
+
if (!empty($end)) {
|
1572 |
$pos = strpos($content, $end);
|
1573 |
if ($pos === false) {
|
1574 |
return $content;
|
2959 |
'generaltemplates' => $generalTemplates,
|
2960 |
'generaltemplate' => $postie_default,
|
2961 |
'selected_generaltemplate' => 'postie_default',
|
2962 |
+
'generate_thumbnails' => true,
|
2963 |
+
'reply_as_comment' => true
|
2964 |
);
|
2965 |
}
|
2966 |
|
3204 |
*/
|
3205 |
function config_GetOld() {
|
3206 |
$config = config_UpgradeOld();
|
3207 |
+
//These should only be modified if you are testing
|
3208 |
$config["DELETE_MAIL_AFTER_PROCESSING"] = true;
|
3209 |
$config["POST_TO_DB"] = true;
|
3210 |
$config["TEST_EMAIL"] = false;
|
3213 |
if (file_exists(POSTIE_ROOT . '/postie_test_variables.php')) {
|
3214 |
include(POSTIE_ROOT . '/postie_test_variables.php');
|
3215 |
}
|
3216 |
+
//include(POSTIE_ROOT . "/../postie-test.php");
|
3217 |
+
// These are computed
|
3218 |
$config["TIME_OFFSET"] = get_option('gmt_offset');
|
3219 |
$config["POSTIE_ROOT"] = POSTIE_ROOT;
|
3220 |
for ($i = 0; $i < count($config["AUTHORIZED_ADDRESSES"]); $i++) {
|
3408 |
$customImages = array();
|
3409 |
if ($config['custom_image_field']) {
|
3410 |
DebugEcho("Looking for custom images");
|
3411 |
+
DebugDump($attachments["html"]);
|
3412 |
|
3413 |
foreach ($attachments["html"] as $key => $value) {
|
3414 |
//DebugEcho("checking " . htmlentities($value));
|
postie.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Create posts via email. Signifigantly upgrades the Post by Email features of Word Press.
|
7 |
-
Version: 1.6.
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
@@ -27,11 +27,11 @@
|
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
-
$Id: postie.php
|
31 |
*/
|
32 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
|
33 |
|
34 |
-
define('POSTIE_VERSION', '1.6.
|
35 |
define("POSTIE_ROOT", dirname(__FILE__));
|
36 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
37 |
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Create posts via email. Signifigantly upgrades the Post by Email features of Word Press.
|
7 |
+
Version: 1.6.15
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
+
$Id: postie.php 1105355 2015-03-04 19:27:05Z WayneAllen $
|
31 |
*/
|
32 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
|
33 |
|
34 |
+
define('POSTIE_VERSION', '1.6.15');
|
35 |
define("POSTIE_ROOT", dirname(__FILE__));
|
36 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
37 |
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Author URI: http://allens-home.com/
|
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
-
Tested up to: 4.1
|
9 |
-
Stable tag: 1.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -56,17 +56,13 @@ More info at http://PostiePlugin.com/
|
|
56 |
8. Attachment options
|
57 |
|
58 |
== Installation ==
|
59 |
-
*
|
60 |
-
|
61 |
-
*
|
62 |
-
* Use the automatic installer (WP 2.7+)
|
63 |
-
* Login to WordPress as an administrator
|
64 |
-
* Goto the Plugins tab in the WordPress Admin Site
|
65 |
-
* Activate "Postie"
|
66 |
-
* Goto to the "Settings" tab and click on the sub-tab "Postie" to configure it.
|
67 |
* Make sure you enter the mailserver information correctly, including the type
|
68 |
-
of connection and the port number.
|
69 |
* (Postie ignores the settings under Settings->Writing->Writing-by-Email)
|
|
|
70 |
== Usage ==
|
71 |
= Specifying Beginning and Ending of Post =
|
72 |
* If you put in :start - the message processing won't start until it sees that string.
|
@@ -238,6 +234,13 @@ All script, style and body tags are stripped from html emails.
|
|
238 |
Attachments are now processed in the order they were attached.
|
239 |
|
240 |
== CHANGELOG ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
= 1.6.14 (2015-02-26) =
|
242 |
* Fully support custom taxonomies
|
243 |
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
+
Tested up to: 4.1.1
|
9 |
+
Stable tag: 1.6.15
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
56 |
8. Attachment options
|
57 |
|
58 |
== Installation ==
|
59 |
+
* Install Postie either via the WordPress.org plugin directory, or by uploading the files to your server.
|
60 |
+
* Activate Postie through the Plugins menu in WordPress.
|
61 |
+
* Configure the plugin by going to the Postie menu that appears in your admin menu.
|
|
|
|
|
|
|
|
|
|
|
62 |
* Make sure you enter the mailserver information correctly, including the type
|
63 |
+
of connection and the port number.
|
64 |
* (Postie ignores the settings under Settings->Writing->Writing-by-Email)
|
65 |
+
* More information can be found at http://PostiePlugin.com
|
66 |
== Usage ==
|
67 |
= Specifying Beginning and Ending of Post =
|
68 |
* If you put in :start - the message processing won't start until it sees that string.
|
234 |
Attachments are now processed in the order they were attached.
|
235 |
|
236 |
== CHANGELOG ==
|
237 |
+
= 1.6.15 (2015-03-04) =
|
238 |
+
* Remove "Wrap content in pre tags" option as it was defaulted to "yes" but never correctly applied.
|
239 |
+
* Allow time correction values of 0.5
|
240 |
+
* New setting: "Treat Replies As" allows user to specify if replies should be processed as comments or new posts.
|
241 |
+
* Fix bug in reply detection
|
242 |
+
* Fix bug when saving custom image field and there was only 1 image
|
243 |
+
|
244 |
= 1.6.14 (2015-02-26) =
|
245 |
* Fully support custom taxonomies
|
246 |
|