From d33deeeb744fab17c7dc4e5b05b53af72f3fe0e0 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Tue, 15 Dec 2015 01:20:49 +0000 Subject: [PATCH] Customize: Ensure that "Change" button appears when there are only 2 themes. Fixes defect introduced in [35535]. Props igmoweb. See #34549. Fixes #35081. git-svn-id: https://develop.svn.wordpress.org/trunk@35943 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/customize/class-wp-customize-themes-section.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/customize/class-wp-customize-themes-section.php b/src/wp-includes/customize/class-wp-customize-themes-section.php index fb983a9caa..9674b64542 100644 --- a/src/wp-includes/customize/class-wp-customize-themes-section.php +++ b/src/wp-includes/customize/class-wp-customize-themes-section.php @@ -46,7 +46,7 @@ class WP_Customize_Themes_Section extends WP_Customize_Section { } ?> - controls ) > 1 ) : ?> + controls ) > 0 ) : ?>