diff --git a/README.md b/README.md index 3084dde..59a43ef 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,10 @@ This will follow the settings you choose in the Genesis Theme Settings. ## Changelog +### 2.2.1 +* fixed fallback filters +* escaped even more things + ### 2.2.0 - 2015-04-20 * default, term, and custom post type featured images are now stored in the database by ID, rather than URL. * added filters for backstretch image output, RSS excerpt image output diff --git a/includes/class-displayfeaturedimagegenesis-common.php b/includes/class-displayfeaturedimagegenesis-common.php index 3e6c971..6269dcf 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.0'; + public static $version = '2.2.1'; protected static $post_types; @@ -98,7 +98,7 @@ class Display_Featured_Image_Genesis_Common { /** * Optional filter to change the title text - * @since x.y.z + * @since 2.2.0 */ $item->title = apply_filters( 'display_featured_image_genesis_title', $title ); @@ -110,7 +110,7 @@ class Display_Featured_Image_Genesis_Common { * retrieve image ID for output * @param string $image_id variable, ID of featured image * - * @since x.y.z + * @since 2.2.1 */ protected static function set_image_id( $image_id = '' ) { @@ -180,7 +180,7 @@ class Display_Featured_Image_Genesis_Common { /** * use the custom post type featured image * - * @since x.y.z + * @since 2.2.1 */ $use_cpt = apply_filters( 'displayfeaturedimagegenesis_use_post_type_image', self::$post_types ); if ( in_array( get_post_type(), $use_cpt ) ) { diff --git a/readme.txt b/readme.txt index 1a1e279..c2a89f1 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.0 +Stable tag: 2.2.1 License: GPL-2.0+ License URI: http://www.gnu.org/licenses/gpl-2.0.txt @@ -161,11 +161,15 @@ 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.0 = -Changed how default, term, and post type featured images are stored in the database (better!). += 2.2.1 = +Bugfixes: image ID is correctly set in sequence == Changelog == += 2.2.1 = +* fixed fallback filters +* escaped even more things + = 2.2.0 = * default, term, and custom post type featured images are now stored in the database by ID, rather than URL. * added filters for backstretch image output, RSS excerpt image output