[wp-trac] [WordPress Trac] #18853: Menus Admin Screen Doesn't Accept Body Classes
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 4 00:50:57 UTC 2011
#18853: Menus Admin Screen Doesn't Accept Body Classes
----------------------------+-----------------------------
Reporter: JohnONolan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.3
Severity: normal | Keywords: needs-patch
----------------------------+-----------------------------
This is going to be a hazy bug report, because it's at the outer limits of
my technical ability, but:
Using this code
{{{
function my_admin_body_class( $classes ) {
if ( is_admin() ) {
$classes .= 'extra-class';
}
return $classes;
}
add_filter('admin_body_class', 'my_admin_body_class');
}}}
I can add a class of "extra-class" to the admin body tag on every single
page... except Appearance > Menus. Where the class doesn't get inserted at
all.
I'm seeing this both in 3.2 and latest trunk. Apologies if this is
something I'm doing wrong... like I say - outer limits.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18853>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list