Version Description
- Bug fix for when no object set in Unique_Headers_Taxonomy_Header_Images::modify_header_image_data()
Download this release
Release Info
| Developer | ryanhellyer |
| Plugin | |
| Version | 1.7.12 |
| Comparing to | |
| See all releases | |
Code changes from version 1.7.11 to 1.7.12
- assets/admin.css +0 -0
- assets/admin.js +0 -0
- inc/class-dotorg-plugin-review.php +0 -0
- inc/class-unique-headers-core.php +0 -0
- inc/class-unique-headers-display.php +0 -0
- inc/class-unique-headers-instantiate.php +0 -0
- inc/class-unique-headers-taxonomy-header-images.php +6 -4
- inc/legacy.php +0 -0
- index.php +1 -1
- languages/unique-headers-de_DE.mo +0 -0
- languages/unique-headers-de_DE.po +0 -0
- languages/unique-headers-es_ES.mo +0 -0
- languages/unique-headers-es_ES.po +0 -0
- languages/unique-headers-fr_FR.mo +0 -0
- languages/unique-headers-fr_FR.po +0 -0
- languages/unique-headers-sv_SE.mo +0 -0
- languages/unique-headers-sv_SE.po +0 -0
- readme.txt +6 -3
assets/admin.css
CHANGED
|
File without changes
|
assets/admin.js
CHANGED
|
File without changes
|
inc/class-dotorg-plugin-review.php
CHANGED
|
File without changes
|
inc/class-unique-headers-core.php
CHANGED
|
File without changes
|
inc/class-unique-headers-display.php
CHANGED
|
File without changes
|
inc/class-unique-headers-instantiate.php
CHANGED
|
File without changes
|
inc/class-unique-headers-taxonomy-header-images.php
CHANGED
|
@@ -368,13 +368,15 @@ class Unique_Headers_Taxonomy_Header_Images extends Unique_Headers_Core {
|
|
| 368 |
if ( is_numeric( $attachment_id ) ) {
|
| 369 |
|
| 370 |
// Create object
|
| 371 |
-
if ( null == $data ) {
|
| 372 |
$data = (object) null;
|
| 373 |
}
|
| 374 |
|
| 375 |
-
$data
|
| 376 |
-
|
| 377 |
-
|
|
|
|
|
|
|
| 378 |
|
| 379 |
}
|
| 380 |
|
| 368 |
if ( is_numeric( $attachment_id ) ) {
|
| 369 |
|
| 370 |
// Create object
|
| 371 |
+
if ( null == $data || empty( $data ) ) {
|
| 372 |
$data = (object) null;
|
| 373 |
}
|
| 374 |
|
| 375 |
+
if ( is_object ( $data ) ) {
|
| 376 |
+
$data->attachment_id = $attachment_id;
|
| 377 |
+
$data->width = Custom_Image_Meta_Box::get_attachment_dimensions( $attachment_id, 'width' );
|
| 378 |
+
$data->height = Custom_Image_Meta_Box::get_attachment_dimensions( $attachment_id, 'height' );
|
| 379 |
+
}
|
| 380 |
|
| 381 |
}
|
| 382 |
|
inc/legacy.php
CHANGED
|
File without changes
|
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.12
|
| 7 |
Author: Ryan Hellyer
|
| 8 |
Author URI: https://geek.hellyer.kiwi/
|
| 9 |
Text Domain: unique-headers
|
languages/unique-headers-de_DE.mo
CHANGED
|
File without changes
|
languages/unique-headers-de_DE.po
CHANGED
|
File without changes
|
languages/unique-headers-es_ES.mo
CHANGED
|
File without changes
|
languages/unique-headers-es_ES.po
CHANGED
|
File without changes
|
languages/unique-headers-fr_FR.mo
CHANGED
|
File without changes
|
languages/unique-headers-fr_FR.po
CHANGED
|
File without changes
|
languages/unique-headers-sv_SE.mo
CHANGED
|
File without changes
|
languages/unique-headers-sv_SE.po
CHANGED
|
File without changes
|
readme.txt
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
Contributors: ryanhellyer
|
| 3 |
Tags: custom-header, header, headers, images, page, post, plugin, image, images, categories, gallery, media, header-image, header-images, taxonomy, tag, category, posts, pages, taxonomies, post, page, unique, custom
|
| 4 |
Donate link: https://geek.hellyer.kiwi/donate/
|
| 5 |
-
Requires at least: 4.
|
| 6 |
-
Tested up to:
|
| 7 |
-
Stable tag: 1.7.
|
| 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.11 =
|
| 96 |
* Version bump to force dot org update
|
| 97 |
|
| 2 |
Contributors: ryanhellyer
|
| 3 |
Tags: custom-header, header, headers, images, page, post, plugin, image, images, categories, gallery, media, header-image, header-images, taxonomy, tag, category, posts, pages, taxonomies, post, page, unique, custom
|
| 4 |
Donate link: https://geek.hellyer.kiwi/donate/
|
| 5 |
+
Requires at least: 4.3
|
| 6 |
+
Tested up to: 5.0
|
| 7 |
+
Stable tag: 1.7.12
|
| 8 |
|
| 9 |
|
| 10 |
|
| 92 |
|
| 93 |
== Changelog ==
|
| 94 |
|
| 95 |
+
= 1.7.12 =
|
| 96 |
+
* Bug fix for when no object set in Unique_Headers_Taxonomy_Header_Images::modify_header_image_data()
|
| 97 |
+
|
| 98 |
= 1.7.11 =
|
| 99 |
* Version bump to force dot org update
|
| 100 |
|
