Sanitize/remove admin page slug from admin menu CSS classes
|Reported by:||kawauso||Owned by:|
As I discovered when testing #21307, browsers won't parse a CSS class name with both underscores and hyphens. Instead, they handle it really badly.
For example: .toplevel_page_link-manager will affect body in both Firefox and Chrome.
Plugin page menu items have both an ID and class generated as such, which seems rather redundant. I propose either dropping the redundant and only partly functional CSS class or standardising the menu slug to produce a valid class name.