[wp-trac] [WordPress Trac] #34843: Customizer: allow themes in the Customizer to be disabled by plugins

WordPress Trac noreply at wordpress.org
Thu Dec 3 19:01:42 UTC 2015


#34843: Customizer: allow themes in the Customizer to be disabled by plugins
-------------------------+-----------------------------
 Reporter:  mattwiebe    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Customize    |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 #33552 introduced filters to disable widgets and menus in the Customizer.
 We should have the same thing for themes. There are ways to do this
 already, but they are a bit frustrating since it would be better not to
 have the relatively expensive `wp_prepare_themes_for_js()` function run at
 all.

 Happy to provide a patch if this gets accepted.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34843>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list