diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 4f5c1ad435..4c1c9f3be1 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -57,6 +57,8 @@ do_action("admin_print_scripts-$hook_suffix"); do_action('admin_print_scripts'); do_action("admin_head-$hook_suffix"); do_action('admin_head'); + +$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix); ?>