Unique Headers - Version 1.0.3

Version Description

Download this release

Release Info

Developer ryanhellyer
Plugin Icon wp plugin Unique Headers
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

Files changed (3) hide show
  1. inc/class-category-header-images.php +2 -2
  2. index.php +1 -1
  3. readme.txt +2 -1
inc/class-category-header-images.php CHANGED
@@ -126,8 +126,8 @@ class Category_Header_Images {
126
  $new_url = get_term_meta( $tag_ID, 'taxonomy-header-image', true );
127
 
128
  // If no URL set, then bail out now
129
- if ( '' == $new_url )
130
- return $url;
131
 
132
  return $url;
133
  }
126
  $new_url = get_term_meta( $tag_ID, 'taxonomy-header-image', true );
127
 
128
  // If no URL set, then bail out now
129
+ if ( '' != $new_url )
130
+ $url = $new_url;
131
 
132
  return $url;
133
  }
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Unique Headers
4
  Plugin URI: http://pixopoint.com/
5
  Description: Unique Headers
6
- Version: 1.0.2
7
  Author: Ryan Hellyer / Metronet
8
  Author URI: http://pixopoint.com/
9
 
3
  Plugin Name: Unique Headers
4
  Plugin URI: http://pixopoint.com/
5
  Description: Unique Headers
6
+ Version: 1.0.3
7
  Author: Ryan Hellyer / Metronet
8
  Author URI: http://pixopoint.com/
9
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ryanhellyer, metronet
3
  Tags: header, metronet, pixopoint, headers, image, header-image, header-images, taxonomy, posts, pages, taxonomies, post, page, unique
4
  Donate link: http://pixopoint.com/donate/
5
  Requires at least: 3.4
6
- Stable tag: 1.0.2
7
 
8
 
9
  Adds the ability to use unique custom headers on individual pages, posts or categories.
@@ -62,6 +62,7 @@ No, I'm too busy. Having said that, if you want to pay me a small fortune then I
62
 
63
  == Changelog ==
64
 
 
65
  Version 1.0.2: Bug fix to allow default header to display when no category specified<br />
66
  Version 1.0.1: Bug fixes for post/page thumbnails<br />
67
  Version 1.0: Initial release<br />
3
  Tags: header, metronet, pixopoint, headers, image, header-image, header-images, taxonomy, posts, pages, taxonomies, post, page, unique
4
  Donate link: http://pixopoint.com/donate/
5
  Requires at least: 3.4
6
+ Stable tag: 1.0.3
7
 
8
 
9
  Adds the ability to use unique custom headers on individual pages, posts or categories.
62
 
63
  == Changelog ==
64
 
65
+ Version 1.0.3: Correction for $new_url for categories<br />
66
  Version 1.0.2: Bug fix to allow default header to display when no category specified<br />
67
  Version 1.0.1: Bug fixes for post/page thumbnails<br />
68
  Version 1.0: Initial release<br />