]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/customize/class-wp-customize-themes-section.php
WordPress 4.7
[autoinstalls/wordpress.git] / wp-includes / customize / class-wp-customize-themes-section.php
index fb983a9caa394bc98ef51bec1b33d8d8458cee95..9674b645425ff617590fe59b642ba80c4b699c22 100644 (file)
@@ -46,7 +46,7 @@ class WP_Customize_Themes_Section extends WP_Customize_Section {
                                }
                                ?>
 
-                               <?php if ( count( $this->controls ) > 1 ) : ?>
+                               <?php if ( count( $this->controls ) > 0 ) : ?>
                                        <button type="button" class="button change-theme" tabindex="0"><?php _ex( 'Change', 'theme' ); ?></button>
                                <?php endif; ?>
                        </h3>