[wp-trac] [WordPress Trac] #32623: Add admin_body_class to the Customizer
WordPress Trac
noreply at wordpress.org
Sat Jun 13 03:56:47 UTC 2015
#32623: Add admin_body_class to the Customizer
-------------------------+-----------------------
Reporter: dovyp | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------
Changes (by dovyp):
* status: closed => reopened
* resolution: wontfix =>
Comment:
Since you don't want that admin filter, how about adding this single line
(yes as posted in #31336) to customize.php? This will allow for the admin-
theme body class to be appended and controls to be modified accordingly.
After all, the save button gets updated via cookie. Why not enable third-
party controls to also get updated to match the admin theme?
{{{
$body_class .= ' admin-color-' . sanitize_html_class( get_user_option(
'admin_color' ), 'fresh' );
}}}
Thanks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32623#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list