From 1a55cbe59de074233bb83ecf5021e7772722c462 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 5 Nov 2015 01:26:25 +0000 Subject: [PATCH] Customize: Hide "Change" button in themes section if there are fewer than two available themes. Props danielbachhuber, westonruter. Fixes #34549. Built from https://develop.svn.wordpress.org/trunk@35535 git-svn-id: http://core.svn.wordpress.org/trunk@35499 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/customize/class-wp-customize-themes-section.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 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 ecd7833d78..fb983a9caa 100644 --- a/wp-includes/customize/class-wp-customize-themes-section.php +++ b/wp-includes/customize/class-wp-customize-themes-section.php @@ -46,7 +46,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section { } ?> - + controls ) > 1 ) : ?> + +

diff --git a/wp-includes/version.php b/wp-includes/version.php index 8300f55776..856ca8560f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta3-35534'; +$wp_version = '4.4-beta3-35535'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.