[wp-trac] [WordPress Trac] #34549: Theme Customizer: Disable "Change [theme]" button when only one theme available

WordPress Trac noreply at wordpress.org
Thu Nov 5 01:17:32 UTC 2015


#34549: Theme Customizer: Disable "Change [theme]" button when only one theme
available
------------------------------+--------------------------
 Reporter:  danielbachhuber   |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  4.4
Component:  Customize         |     Version:  4.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch commit


Comment:

 [attachment:34549.3.diff] follows down @danielbachhuber's approach in
 [attachment:34549.2.diff], but improves efficiency by setting a new
 `$theme_count` property on `WP_Customize_Themes_Section`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34549#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list