Unique Headers - Version 1.7.5

Version Description

  • Fixing bug in taxonomy setup
Download this release

Release Info

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

Code changes from version 1.7.4 to 1.7.5

inc/class-unique-headers-taxonomy-header-images.php CHANGED
@@ -135,7 +135,7 @@ class Unique_Headers_Taxonomy_Header_Images extends Unique_Headers_Core {
135
  */
136
  if ( is_category() ) {
137
  $tax_ID = get_query_var( 'cat' );
138
- } elseif( is_tag() || is_tag() || is_tax() ) {
139
 
140
  // Now we can loop through all taxonomies
141
  foreach( $this->taxonomies as $taxonomy ) {
@@ -350,7 +350,7 @@ class Unique_Headers_Taxonomy_Header_Images extends Unique_Headers_Core {
350
  public function modify_header_image_data( $data ) {
351
 
352
  // Bail out now if not in post (is_single or is_page) or blog (is_home)
353
- if ( ! is_tax() ) {
354
  return $data;
355
  }
356
 
135
  */
136
  if ( is_category() ) {
137
  $tax_ID = get_query_var( 'cat' );
138
+ } elseif( is_tag() || is_tax() ) {
139
 
140
  // Now we can loop through all taxonomies
141
  foreach( $this->taxonomies as $taxonomy ) {
350
  public function modify_header_image_data( $data ) {
351
 
352
  // Bail out now if not in post (is_single or is_page) or blog (is_home)
353
+ if ( ! is_tag() && ! is_tax() ) {
354
  return $data;
355
  }
356
 
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.7.4
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.7.6
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.8
7
- Stable tag: 1.7.4
8
 
9
 
10
 
@@ -92,6 +92,9 @@ Yes. Just send me a message via <a href="https://ryan.hellyer.kiwi/contact/">my
92
 
93
  == Changelog ==
94
 
 
 
 
95
  = 1.7.4 =
96
  * Fixing bug in taxonomy setup
97
 
4
  Donate link: https://geek.hellyer.kiwi/donate/
5
  Requires at least: 4.3
6
  Tested up to: 4.8
7
+ Stable tag: 1.7.5
8
 
9
 
10
 
92
 
93
  == Changelog ==
94
 
95
+ = 1.7.5 =
96
+ * Fixing bug in taxonomy setup
97
+
98
  = 1.7.4 =
99
  * Fixing bug in taxonomy setup
100