From 9711093ff87399cb093f9b33d213ec1e73db65d5 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 5 Nov 2015 01:25:54 +0000 Subject: [PATCH] Customize: Hide "Change" button in themes section if there are fewer than two available themes. Props danielbachhuber, westonruter. Fixes #34549. git-svn-id: https://develop.svn.wordpress.org/trunk@35535 602fd350-edb4-49c9-b593-d223f7449a82 --- .../customize/class-wp-customize-themes-section.php | 4 +++- 1 file changed, 3 insertions(+), 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 ecd7833d78..fb983a9caa 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,9 @@ class WP_Customize_Themes_Section extends WP_Customize_Section { } ?> - + controls ) > 1 ) : ?> + +