[wp-trac] [WordPress Trac] #28032: Headers, Backgrounds, and Widgets in the Customizer are not discoverable from their separate admin screens.

WordPress Trac noreply at wordpress.org
Thu Nov 13 11:37:22 UTC 2014


#28032: Headers, Backgrounds, and Widgets in the Customizer are not discoverable
from their separate admin screens.
-------------------------------------+---------------------------------
 Reporter:  topher1kenobe            |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.1
Component:  Customize                |     Version:  3.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  ui, administration
-------------------------------------+---------------------------------

Comment (by westonruter):

 The `no-customize-support` body class gets removed in the
 `wp_customize_support_script` function, and this only gets called if
 `current_user_can( 'customize' )`. So if the user can't `customize` then
 any CSS that hides elements with selectors like `.no-customize-support
 .hide-if-no-customize` should continue to be hidden as expected without
 additional PHP-based checks for the ability to `customize`.

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


More information about the wp-trac mailing list