Postie - Version 1.4.34

Version Description

(2013.02.07) = * Fixed bug in new category logic

Download this release

Release Info

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

Code changes from version 1.4.33 to 1.4.34

Files changed (5) hide show
  1. docs/Changes.txt +3 -0
  2. docs/Postie.txt +1 -1
  3. postie-functions.php +4 -3
  4. postie.php +2 -2
  5. readme.txt +4 -1
docs/Changes.txt CHANGED
@@ -10,6 +10,9 @@ All script, style and body tags are stripped from html emails.
10
  Attachments are now processed in the order they were attached.
11
 
12
  == CHANGELOG ==
 
 
 
13
  = 1.4.33 (2013.02.05) =
14
  * Fixed bug where non-category taxonomy was being selected as the post category.
15
  * Added option to force categories to match exactly.
10
  Attachments are now processed in the order they were attached.
11
 
12
  == CHANGELOG ==
13
+ = 1.4.34 (2013.02.07) =
14
+ * Fixed bug in new category logic
15
+
16
  = 1.4.33 (2013.02.05) =
17
  * Fixed bug where non-category taxonomy was being selected as the post category.
18
  * Added option to force categories to match exactly.
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.1
9
- Stable tag: 1.4.33
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.1
9
+ Stable tag: 1.4.34
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 664075 2013-02-06 05:18:09Z WayneAllen $
5
  */
6
 
7
  //to turn on debug output add the following line to wp-config.php
@@ -2288,13 +2288,14 @@ function lookup_category($trial_category, $category_match) {
2288
 
2289
  $term = get_term_by('name', $trial_category, 'category');
2290
  if ($term !== false) {
 
2291
  //then category is a named and found
2292
- return $term['term_id'];
2293
  }
2294
  $term = get_term_by('id', $trial_category, 'category');
2295
  if ($term !== false) {
2296
  //then cateogry was an ID and found
2297
- return $term['term_id'];
2298
  }
2299
  if (empty($found_category) && $category_match) {
2300
  DebugEcho("category wildcard lookup: $trial_category");
1
  <?php
2
 
3
  /*
4
+ $Id: postie-functions.php 664838 2013-02-07 16:35:56Z WayneAllen $
5
  */
6
 
7
  //to turn on debug output add the following line to wp-config.php
2288
 
2289
  $term = get_term_by('name', $trial_category, 'category');
2290
  if ($term !== false) {
2291
+ DebugDump($term);
2292
  //then category is a named and found
2293
+ return $term->term_id;
2294
  }
2295
  $term = get_term_by('id', $trial_category, 'category');
2296
  if ($term !== false) {
2297
  //then cateogry was an ID and found
2298
+ return $term->term_id;
2299
  }
2300
  if (empty($found_category) && $category_match) {
2301
  DebugEcho("category wildcard lookup: $trial_category");
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.33
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 664075 2013-02-06 05:18:09Z WayneAllen $
31
  */
32
 
33
  define("POSTIE_ROOT", dirname(__FILE__));
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.34
8
  Author: Wayne Allen
9
  Author URI: http://allens-home.com/
10
  License: GPL2
27
  */
28
 
29
  /*
30
+ $Id: postie.php 664838 2013-02-07 16:35:56Z WayneAllen $
31
  */
32
 
33
  define("POSTIE_ROOT", dirname(__FILE__));
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.1
9
- Stable tag: 1.4.33
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -427,6 +427,9 @@ All script, style and body tags are stripped from html emails.
427
  Attachments are now processed in the order they were attached.
428
 
429
  == CHANGELOG ==
 
 
 
430
  = 1.4.33 (2013.02.05) =
431
  * Fixed bug where non-category taxonomy was being selected as the post category.
432
  * Added option to force categories to match exactly.
6
  Tags: e-mail, email
7
  Requires at least: 3.0
8
  Tested up to: 3.5.1
9
+ Stable tag: 1.4.34
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
427
  Attachments are now processed in the order they were attached.
428
 
429
  == CHANGELOG ==
430
+ = 1.4.34 (2013.02.07) =
431
+ * Fixed bug in new category logic
432
+
433
  = 1.4.33 (2013.02.05) =
434
  * Fixed bug where non-category taxonomy was being selected as the post category.
435
  * Added option to force categories to match exactly.