#50555 closed defect (bug) (fixed)
Modern Color Scheme: Custom SVG icons in menu are invisible
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | 5.5 |
Component: | Administration | Keywords: | has-patch |
Focuses: | css, administration | Cc: |
Description
Top-level admin menu pages can be registered with a custom SVG icon, base64-encoded. To work with the color schemes, this is automatically colored by svg-painter.js, using the colors passed as the last argument to wp_admin_css_color
.
The new Modern scheme isn't setting these correctly, so the icons appear to be invisible. You can test this out with the demo plugin here. It registers an empty page that uses a custom SVG icon.
Attachments (2)
Change History (7)
This ticket was mentioned in PR #389 on WordPress/wordpress-develop by ryelle.
5 years ago
#1
- Keywords has-patch added
#4
@
5 years ago
- Owner set to desrosj
- Resolution set to fixed
- Status changed from new to closed
In 48542:
This ticket was mentioned in Slack in #core by david.baumwald. View the logs.
5 years ago
Note: See
TracTickets for help on using
tickets.
See ticket for before screenshots. After:


This also updates the color scheme preview to use the green color instead of the salmon color, since that ended up being removed from the scheme. Happy to remove that commit from this PR if it's not needed.

Trac ticket: https://core.trac.wordpress.org/ticket/50555