[wp-trac] [WordPress Trac] #21421: Sanitize/remove admin page slug from admin menu CSS classes
WordPress Trac
noreply at wordpress.org
Sat Mar 2 21:00:41 UTC 2013
#21421: Sanitize/remove admin page slug from admin menu CSS classes
----------------------------+------------------------------
Reporter: kawauso | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------------------
Comment (by helen):
If browsers break on underscores and dashes combined in one class, seems
like perhaps `sanitize_html_class()` should either replace all underscores
with dashes or see if both are present and, if so, then replace
underscores with dashes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21421#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list