mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
fix taxonomy term image if a term image has been deleted
This commit is contained in:
@@ -83,7 +83,7 @@ class Display_Featured_Image_Genesis_Common {
|
||||
elseif ( is_category() || is_tag() || is_tax() ) {
|
||||
$t_id = $object->term_id;
|
||||
$term_meta = get_option( "displayfeaturedimagegenesis_$t_id" );
|
||||
if ( $term_meta ) {
|
||||
if ( ! empty( $term_meta['term_image'] ) ) {
|
||||
$image_id = self::get_image_id( $term_meta['term_image'] );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user