diff options
author | Yury German <blueknight@gentoo.org> | 2017-03-07 20:49:57 -0500 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2017-03-07 20:49:57 -0500 |
commit | 4aef42856734c8d67b06814ff6c97b101869836b (patch) | |
tree | dd94b6858923fa285673285940bcd74be3bb5eb9 /plugins/jetpack/modules/theme-tools/content-options.php | |
parent | Update plugin wordpress-mobile-pack 2.2.8 (diff) | |
download | blogs-gentoo-4aef42856734c8d67b06814ff6c97b101869836b.tar.gz blogs-gentoo-4aef42856734c8d67b06814ff6c97b101869836b.tar.bz2 blogs-gentoo-4aef42856734c8d67b06814ff6c97b101869836b.zip |
Jetpack upgrade 4.7
Diffstat (limited to 'plugins/jetpack/modules/theme-tools/content-options.php')
-rw-r--r-- | plugins/jetpack/modules/theme-tools/content-options.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |