[wp-trac] [WordPress Trac] #35717: Audit the .icon16 selectors in admin-menu.css
WordPress Trac
noreply at wordpress.org
Thu Feb 4 16:06:10 UTC 2016
#35717: Audit the .icon16 selectors in admin-menu.css
----------------------------+--------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords: needs-patch dev-feedback
Focuses: ui |
----------------------------+--------------------------------------
Noticed while investigating the admin stylesheets for
[https://core.trac.wordpress.org/query?keywords=~color-contrast color
contrast], looks like the `.icon16` selectors in `admin-menu.css` are no
more used. I'm not 100% sure and I'd really appreciate some feedback
though.
As far as I see, the `.icon16` selectors were used only for the Welcome
Panel at some point, while the admin menu always used its own selectors.
It seems to me they can be safely removed.
Some history:
Introduced in WordPress 3.3 to reuse the admin menu icons on the Welcome
Screen, see [19163] and [19197].
The icons were then removed with the Welcome Panel redesign for WP 3.5,
see [22018] and #21368.
The selectors were still present in the MP6 stylesheets, see [26072], but
no more used in any screen? If so, it would be a nice opportunity to do
some cleaning.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35717>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list