[wp-trac] [WordPress Trac] #34549: Theme Customizer: Disable "Change [theme]" button when only one theme available
WordPress Trac
noreply at wordpress.org
Mon Nov 2 17:26:52 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 | Focuses:
-----------------------------+--------------------------
Comment (by westonruter):
If I only have one theme, I already know what what it is and I don't need
to be told. It just kinda wastes space.
Note in [attachment:34549.2.diff] if that approach is taken, we should
avoid calling `wp_prepare_themes_for_js()` a second time in there because
if there are a lot of themes (e.g. on WordPress.com) this can be very
slow.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34549#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list