From 4aef42856734c8d67b06814ff6c97b101869836b Mon Sep 17 00:00:00 2001 From: Yury German Date: Tue, 7 Mar 2017 20:49:57 -0500 Subject: Jetpack upgrade 4.7 --- plugins/jetpack/modules/theme-tools/content-options.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/jetpack/modules/theme-tools/content-options.php') diff --git a/plugins/jetpack/modules/theme-tools/content-options.php b/plugins/jetpack/modules/theme-tools/content-options.php index b8349581..5a97aee8 100644 --- a/plugins/jetpack/modules/theme-tools/content-options.php +++ b/plugins/jetpack/modules/theme-tools/content-options.php @@ -85,9 +85,9 @@ function jetpack_featured_images_get_settings() { function jetpack_featured_images_should_load() { $opts = jetpack_featured_images_get_settings(); - // If the theme doesn't support archive, post and page or if all the options are ticked, don't continue. + // If the theme doesn't support archive, post and page or if all the options are ticked and we aren't in the customizer, don't continue. if ( ( true !== $opts['archive'] && true !== $opts['post'] && true !== $opts['page'] ) - || ( 1 === $opts['archive-option'] && 1 === $opts['post-option'] && 1 === $opts['page-option'] ) ) { + || ( 1 === $opts['archive-option'] && 1 === $opts['post-option'] && 1 === $opts['page-option'] && ! is_customize_preview() ) ) { return false; } -- cgit v1.2.3-65-gdbad