Opened 3 years ago
Last modified 13 months ago
#55521 new enhancement
Use dashicons-class in `wp_dashboard_quota` and `wp_dashboard_right_now`
Reported by: | kebbet | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Administration | Keywords: | has-patch |
Focuses: | ui, css, administration | Cc: |
Description
Proposal:
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.
Background:
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.
Change History (4)
This ticket was mentioned in PR #2499 on WordPress/wordpress-develop by kebbet.
3 years ago
#1
- Keywords has-patch added; needs-patch removed
Note: See
TracTickets for help on using
tickets.
https://core.trac.wordpress.org/ticket/55521