Version Description
- Fixing bug in taxonomy setup
Download this release
Release Info
| Developer | ryanhellyer |
| Plugin | |
| Version | 1.7.6 |
| Comparing to | |
| See all releases | |
Code changes from version 1.7.4 to 1.7.6
- inc/class-unique-headers-taxonomy-header-images.php +3 -3
- index.php +1 -1
- readme.txt +7 -1
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() ||
|
| 139 |
|
| 140 |
// Now we can loop through all taxonomies
|
| 141 |
foreach( $this->taxonomies as $taxonomy ) {
|
|
@@ -349,8 +349,8 @@ class Unique_Headers_Taxonomy_Header_Images extends Unique_Headers_Core {
|
|
| 349 |
*/
|
| 350 |
public function modify_header_image_data( $data ) {
|
| 351 |
|
| 352 |
-
// Bail out now if not in
|
| 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 ) {
|
| 349 |
*/
|
| 350 |
public function modify_header_image_data( $data ) {
|
| 351 |
|
| 352 |
+
// Bail out now if not in taxonomy archive
|
| 353 |
+
if ( ! is_tag() && ! is_tax() && ! is_category() ) {
|
| 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.
|
| 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.5
|
| 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.
|
| 8 |
|
| 9 |
|
| 10 |
|
|
@@ -92,6 +92,12 @@ 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.6 =
|
| 96 |
+
* Fixing bug in taxonomy setup
|
| 97 |
+
|
| 98 |
+
= 1.7.5 =
|
| 99 |
+
* Fixing bug in taxonomy setup
|
| 100 |
+
|
| 101 |
= 1.7.4 =
|
| 102 |
* Fixing bug in taxonomy setup
|
| 103 |
|
