mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-13 03:26:02 +09:00
Remove all calls to check_image_id helper function (deprecated)
This commit is contained in:
@@ -110,9 +110,7 @@ class Display_Featured_Image_Genesis_Admin {
|
||||
|
||||
$taxonomy = filter_input( INPUT_POST, 'taxonomy', FILTER_SANITIZE_STRING );
|
||||
$taxonomy = ! is_null( $taxonomy ) ? $taxonomy : get_current_screen()->taxonomy;
|
||||
$image_id = displayfeaturedimagegenesis_check_image_id( $image_id );
|
||||
|
||||
$args = array(
|
||||
$args = array(
|
||||
'image_id' => $image_id,
|
||||
'context' => 'term',
|
||||
'alt' => get_term( $term_id, $taxonomy )->name,
|
||||
|
||||
Reference in New Issue
Block a user