Postie - Version 1.5.24

Version Description

(2014.08.12) = * Fix attachment renaming bug * Test with Wordpress 3.9.2

Download this release

Release Info

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

Code changes from version 1.5.23 to 1.5.24

Files changed (6) hide show
  1. Revision +2 -0
  2. docs/Changes.txt +4 -0
  3. docs/Postie.txt +2 -2
  4. postie-functions.php +4 -2
  5. postie.php +3 -3
  6. readme.txt +6 -2
Revision CHANGED
@@ -0,0 +1,2 @@
 
 
1
+ Revision: 964822
2
+ Last Changed Date: 2014-08-11 22:12:56 -0700 (Mon, 11 Aug 2014)
docs/Changes.txt CHANGED
@@ -22,6 +22,10 @@ All script, style and body tags are stripped from html emails.
22
  Attachments are now processed in the order they were attached.
23
 
24
  == CHANGELOG ==
 
 
 
 
25
  = 1.5.23 (2014.08.11) =
26
  * Remove PEAR/PEAR5 dependency which was causing errors on some systems
27
  * Call wp_handle_upload_prefilter before adding images to WP
22
  Attachments are now processed in the order they were attached.
23
 
24
  == CHANGELOG ==
25
+ = 1.5.24 (2014.08.12) =
26
+ * Fix attachment renaming bug
27
+ * Test with Wordpress 3.9.2
28
+
29
  = 1.5.23 (2014.08.11) =
30
  * Remove PEAR/PEAR5 dependency which was causing errors on some systems
31
  * Call wp_handle_upload_prefilter before adding images to WP
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
7
  Requires at least: 3.0
8
- Tested up to: 3.9.1
9
- Stable tag: 1.5.23
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
7
  Requires at least: 3.0
8
+ Tested up to: 3.9.2
9
+ Stable tag: 1.5.24
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 964278 2014-08-12 03:40:08Z WayneAllen $
5
  */
6
 
7
  //to turn on debug output add the following line to wp-config.php
@@ -1951,7 +1951,9 @@ function postie_handle_upload(&$file, $overrides = false, $time = null) {
1951
 
1952
  // Move the file to the uploads dir
1953
  $new_file = $uploads['path'] . "/$filename";
1954
- if (false === move_uploaded_file($file['tmp_name'], $new_file)) {
 
 
1955
  DebugEcho("upload: rename failed");
1956
  DebugEcho("old file: " . $file['tmp_name']);
1957
  DebugEcho("new file: $new_file");
1
  <?php
2
 
3
  /*
4
+ $Id: postie-functions.php 964840 2014-08-12 22:42:50Z WayneAllen $
5
  */
6
 
7
  //to turn on debug output add the following line to wp-config.php
1951
 
1952
  // Move the file to the uploads dir
1953
  $new_file = $uploads['path'] . "/$filename";
1954
+
1955
+ //move_uploaded_file() will not work here
1956
+ if (false === rename($file['tmp_name'], $new_file)) {
1957
  DebugEcho("upload: rename failed");
1958
  DebugEcho("old file: " . $file['tmp_name']);
1959
  DebugEcho("new file: $new_file");
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.5.23
8
  Author: Wayne Allen
9
  Author URI: http://allens-home.com/
10
  License: GPL2
@@ -27,10 +27,10 @@
27
  */
28
 
29
  /*
30
- $Id: postie.php 964314 2014-08-12 05:11:31Z WayneAllen $
31
  */
32
 
33
- define('POSTIE_VERSION', '1.5.23');
34
  define("POSTIE_ROOT", dirname(__FILE__));
35
  define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
36
 
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.5.24
8
  Author: Wayne Allen
9
  Author URI: http://allens-home.com/
10
  License: GPL2
27
  */
28
 
29
  /*
30
+ $Id: postie.php 964840 2014-08-12 22:42:50Z WayneAllen $
31
  */
32
 
33
+ define('POSTIE_VERSION', '1.5.24');
34
  define("POSTIE_ROOT", dirname(__FILE__));
35
  define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
36
 
readme.txt CHANGED
@@ -5,8 +5,8 @@ Author URI: http://allens-home.com/
5
  Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email
7
  Requires at least: 3.0
8
- Tested up to: 3.9.1
9
- Stable tag: 1.5.23
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -444,6 +444,10 @@ All script, style and body tags are stripped from html emails.
444
  Attachments are now processed in the order they were attached.
445
 
446
  == CHANGELOG ==
 
 
 
 
447
  = 1.5.23 (2014.08.11) =
448
  * Remove PEAR/PEAR5 dependency which was causing errors on some systems
449
  * Call wp_handle_upload_prefilter before adding images to WP
5
  Plugin URI: http://PostiePlugin.com/
6
  Tags: e-mail, email
7
  Requires at least: 3.0
8
+ Tested up to: 3.9.2
9
+ Stable tag: 1.5.24
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
444
  Attachments are now processed in the order they were attached.
445
 
446
  == CHANGELOG ==
447
+ = 1.5.24 (2014.08.12) =
448
+ * Fix attachment renaming bug
449
+ * Test with Wordpress 3.9.2
450
+
451
  = 1.5.23 (2014.08.11) =
452
  * Remove PEAR/PEAR5 dependency which was causing errors on some systems
453
  * Call wp_handle_upload_prefilter before adding images to WP