[wp-trac] [WordPress Trac] #32623: Add admin_body_class to the Customizer
WordPress Trac
noreply at wordpress.org
Fri Jun 12 06:40:38 UTC 2015
#32623: Add admin_body_class to the Customizer
--------------------------------------+-----------------------------
Reporter: dovyp | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Keywords:
Focuses: administration, template |
--------------------------------------+-----------------------------
This is a really easy fix, so I'm not going to submit a patch unless you'd
prefer me to.
On line 72 of ~/wp-admin/customize.php, I want to change:
$body_class = 'wp-core-ui wp-customizer js';
TO
$body_class = apply_filters( 'admin_body_class', 'wp-core-ui wp-customizer
js' );
Thus allowing the admin_body_class filter to be used in the customizer,
like the rest of the WP Admin.
I'm hoping we can add this small change for 4.3.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32623>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list