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:
@@ -114,7 +114,7 @@ class Display_Featured_Image_Genesis_Settings_Terms {
|
||||
$option = get_option( esc_attr( $option_key ), false );
|
||||
$term = get_term( (int) $term_id );
|
||||
if ( ! is_wp_error( $term ) && ! is_null( $term ) ) {
|
||||
$image_id = (int) displayfeaturedimagegenesis_check_image_id( $option['term_image'] );
|
||||
$image_id = (int) $option['term_image'];
|
||||
update_term_meta( $term_id, 'displayfeaturedimagegenesis', $image_id );
|
||||
}
|
||||
if ( false !== $option ) {
|
||||
|
||||
Reference in New Issue
Block a user