mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
preemptively set backstretch variable
this may be unnecessary as it appears to return false if empty anyway
This commit is contained in:
@@ -41,6 +41,7 @@ class Display_Featured_Image_Genesis_Common {
|
||||
}
|
||||
|
||||
// sitewide variables used outside this function
|
||||
$item->backstretch = '';
|
||||
$item->fallback = esc_attr( $displaysetting['default'] ); // url only
|
||||
$item->fallback_id = self::get_image_id( $item->fallback ); // gets image id with attached metadata
|
||||
$item->large = absint( get_option( 'large_size_w' ) );
|
||||
|
||||
Reference in New Issue
Block a user