diff --git a/README.md b/README.md index cef8cee..0663c57 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,9 @@ This will follow the settings you choose in the Genesis Theme Settings. ## Changelog +### 2.2.2 +* fixed default image id function error + ### 2.2.1 * fixed fallback filters * escaped even more things diff --git a/display-featured-image-genesis.php b/display-featured-image-genesis.php index f87000d..b02f9e5 100644 --- a/display-featured-image-genesis.php +++ b/display-featured-image-genesis.php @@ -12,7 +12,7 @@ * Plugin Name: Display Featured Image for Genesis * Plugin URI: http://github.com/robincornett/display-featured-image-genesis/ * Description: This plugin works within the Genesis Framework, to display featured images in beautiful and dynamic ways. - * Version: 2.2.1 + * Version: 2.2.2 * Author: Robin Cornett * Author URI: http://robincornett.com * License: GPL-2.0+ diff --git a/includes/class-displayfeaturedimagegenesis-common.php b/includes/class-displayfeaturedimagegenesis-common.php index 6269dcf..a6de91d 100644 --- a/includes/class-displayfeaturedimagegenesis-common.php +++ b/includes/class-displayfeaturedimagegenesis-common.php @@ -13,7 +13,7 @@ class Display_Featured_Image_Genesis_Common { * @var string * @since 1.4.3 */ - public static $version = '2.2.1'; + public static $version = '2.2.2'; protected static $post_types; diff --git a/includes/helper-functions.php b/includes/helper-functions.php index b953a7e..03e0deb 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -67,7 +67,7 @@ function display_featured_image_genesis_get_default_image_id() { $fallback = $displaysetting['default']; $image_id = $fallback; if ( ! is_numeric( $fallback ) ) { - $image_id = self::get_image_id( $fallback ); // gets image id with attached metadata + $image_id = Display_Featured_Image_Genesis_Common::get_image_id( $fallback ); // gets image id with attached metadata } return absint( $image_id ); diff --git a/readme.txt b/readme.txt index 7f54337..71cda18 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Donate link: https://robincornett.com/donate/ Tags: backstretch, featured image, featured images, genesis, studiopress, post thumbnails, featured image rss, rss Requires at least: 3.8 Tested up to: 4.2 -Stable tag: 2.2.1 +Stable tag: 2.2.2 License: GPL-2.0+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt @@ -162,11 +162,14 @@ This will follow the settings you choose in the Genesis Theme Settings. 3. Quickly see the featured image assigned to each post or term. == Upgrade Notice == -= 2.2.1 = -Bugfixes: image ID is correctly set in sequence += 2.2.2 = +Bugfix: default image ID function == Changelog == += 2.2.2 = +* fixed default image id function error + = 2.2.1 = * fixed fallback filters * escaped even more things