[wp-trac] [WordPress Trac] #55521: Use dashicons-class in `wp_dashboard_quota` and `wp_dashboard_right_now`

WordPress Trac noreply at wordpress.org
Sun Apr 3 18:06:18 UTC 2022

#55521: Use dashicons-class in `wp_dashboard_quota` and `wp_dashboard_right_now`
 Reporter:  kebbet                   |      Owner:  (none)
     Type:  enhancement              |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Administration           |    Version:  3.8
 Severity:  normal                   |   Keywords:  needs-patch
  Focuses:  ui, css, administration  |
 Replace hardcoded css-rules for each item in the `At a Glance`-widget, use
 dashicons-classes for each item. This makes adding new items to the widget
 easier, simply just add a `dashicons-before`-class the your new items.

 So using `dashboard_glance_items` to add custom items to the post list is
 easy, but changing icons without adding new css with a file or inline to
 the admin views is hard, since the hardcoded rules overrides `dashicons-
 before` on my added items.

Ticket URL: <https://core.trac.wordpress.org/ticket/55521>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list