[wp-trac] [WordPress Trac] #35717: Audit the .icon16 selectors in admin-menu.css

WordPress Trac noreply at wordpress.org
Tue Mar 9 05:36:00 UTC 2021


#35717: Audit the .icon16 selectors in admin-menu.css
----------------------------+----------------------
 Reporter:  afercia         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, css
----------------------------+----------------------
Changes (by isabel_brison):

 * keywords:  needs-patch dev-feedback => needs-patch
 * focuses:  ui => ui, css


Comment:

 The `icon16` selector is no longer used in Core, but a few plugins still
 use it: [https://wpdirectory.net/search/01F0APW51X955Z64064W4SQXBZ]

 It would be great to work out a deprecation policy for CSS so that 3rd
 party code can gradually move off these unused selectors.

 @mmaumio : regarding your patch, the aim is to remove the CSS rules
 targeting `icon16` altogether, not just the selector. However, we can only
 do that once we have come up with a way to address the deprecation issue.
 All the same, thanks for your effort!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35717#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list