mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Update image size references
Where possible, use the newly registered image size. The original image size will be available to call on for backup, for images uploaded prior to WordPress 5.3.
This commit is contained in:
@@ -172,7 +172,7 @@ class Display_Featured_Image_Genesis_Output {
|
||||
$image_id = displayfeaturedimagegenesis_get()->set_image_id();
|
||||
return wp_get_attachment_image(
|
||||
$image_id,
|
||||
displayfeaturedimagegenesis_get()->banner_image_size(),
|
||||
'2048x2048',
|
||||
false,
|
||||
array(
|
||||
'alt' => $this->get_image_alt_text( $image_id ),
|
||||
|
||||
Reference in New Issue
Block a user