Unique Headers - Version 1.4.8

Version Description

Download this release

Release Info

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

Code changes from version 1.4.7 to 1.4.8

inc/class-unique-headers-taxonomy-header-images.php CHANGED
@@ -182,10 +182,10 @@ class Unique_Header_Taxonomy_Header_Images {
182
 
183
  // Only use new URL if it isn't blank ...
184
  if ( '' != $new_url ) {
185
- $url = $new_url;
186
  }
187
 
188
- return esc_url ( $url );
189
  }
190
 
191
  /**
182
 
183
  // Only use new URL if it isn't blank ...
184
  if ( '' != $new_url ) {
185
+ $url = esc_url( $new_url );
186
  }
187
 
188
+ return $url; // Do not escape here, as WordPress sometimes assigns non-URLs for the header image
189
  }
190
 
191
  /**
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Unique Headers
4
  Plugin URI: https://geek.hellyer.kiwi/plugins/unique-headers/
5
  Description: Unique Headers
6
- Version: 1.4.7
7
  Author: Ryan Hellyer
8
  Author URI: https://geek.hellyer.kiwi/
9
  Text Domain: unique-headers
3
  Plugin Name: Unique Headers
4
  Plugin URI: https://geek.hellyer.kiwi/plugins/unique-headers/
5
  Description: Unique Headers
6
+ Version: 1.4.8
7
  Author: Ryan Hellyer
8
  Author URI: https://geek.hellyer.kiwi/
9
  Text Domain: unique-headers
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: custom-header, header, headers, images, page, post, plugin, image, images,
4
  Donate link: https://geek.hellyer.kiwi/donate/
5
  Requires at least: 4.3
6
  Tested up to: 4.5
7
- Stable tag: 1.4.7
8
 
9
 
10
 
@@ -126,6 +126,7 @@ No, I'm too busy. Having said that, if you are willing to pay me a small fortune
126
 
127
  == Changelog ==
128
 
 
129
  Version 1.4.7: Setting a more sane plugin review time.
130
  Version 1.4.6: Fixing bug with handling taxonomies. Added plugin review notice back, but without the non-existent MONTH_IN_SECONDS constant.
131
  Version 1.4.5: Removing plugin review notice due to unsolvable errors.
4
  Donate link: https://geek.hellyer.kiwi/donate/
5
  Requires at least: 4.3
6
  Tested up to: 4.5
7
+ Stable tag: 1.4.8
8
 
9
 
10
 
126
 
127
  == Changelog ==
128
 
129
+ Version 1.4.8: Fixing a bug triggered by WordPress assigning non-URL's as the URL.
130
  Version 1.4.7: Setting a more sane plugin review time.
131
  Version 1.4.6: Fixing bug with handling taxonomies. Added plugin review notice back, but without the non-existent MONTH_IN_SECONDS constant.
132
  Version 1.4.5: Removing plugin review notice due to unsolvable errors.