mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-16 21:13:18 +09:00
Remove all calls to check_image_id helper function (deprecated)
This commit is contained in:
@@ -202,7 +202,7 @@ class Display_Featured_Image_Genesis_Widget_CPT extends WP_Widget {
|
||||
}
|
||||
$image_id = $postspage_image;
|
||||
} elseif ( isset( $option['post_type'][ $post_type->name ] ) && $option['post_type'][ $post_type->name ] ) {
|
||||
$image_id = displayfeaturedimagegenesis_check_image_id( $option['post_type'][ $post_type->name ] );
|
||||
$image_id = $option['post_type'][ $post_type->name ];
|
||||
}
|
||||
|
||||
return $image_id;
|
||||
|
||||
Reference in New Issue
Block a user