From 3fdb8bafc4647dd9e153d214bf6261b101f6c0ca Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Tue, 15 Dec 2015 01:21:26 +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. Built from https://develop.svn.wordpress.org/trunk@35943 git-svn-id: http://core.svn.wordpress.org/trunk@35907 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/customize/class-wp-customize-themes-section.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/customize/class-wp-customize-themes-section.php b/wp-includes/customize/class-wp-customize-themes-section.php index fb983a9caa..9674b64542 100644 --- a/wp-includes/customize/class-wp-customize-themes-section.php +++ b/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 ) : ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 9a855473c2..c291a873da 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35942'; +$wp_version = '4.5-alpha-35943'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.