Change large/fallback CPT settings output

This commit is contained in:
Robin Cornett
2017-11-01 08:41:03 -04:00
parent c7d4f973dd
commit 6df3e4f4fe
4 changed files with 20 additions and 36 deletions
@@ -373,7 +373,7 @@ class Display_Featured_Image_Genesis_Common {
* whether get_post_type array should use large image instead of backstretch.
* @uses is_in_array()
*/
if ( self::is_in_array( 'use_large_image' ) || $setting['large'][ $post_type ] ) {
if ( self::is_in_array( 'use_large_image' ) || ( isset( $setting['large'][ $post_type ] ) && $setting['large'][ $post_type ] ) ) {
return 'large';
}