Skip to content

Conversation

@LenVan
Copy link
Contributor

@LenVan LenVan commented Jun 19, 2025

Description of the Change

The current SVG icon used in add_menu_page() doesn’t have a fill color defined. This causes a quick color flicker in the WordPress admin menu during page load.

How to test the Change

  1. Activate the plugin (or keep it active if already).
  2. Go to the WordPress admin dashboard.
  3. Observe the admin menu icon for the plugin during page load.
  4. Without this change, the icon briefly flashes without color (transparent) before WordPress applies the default fill.
  5. With this change, the icon color is consistent (#a7aaad) from the very beginning — no flicker should be visible.

Changelog Entry

Changed - menu SVG icon with default color

Credits

Props @LenVan

Checklist:

@felipeelia felipeelia added this to the 5.3.0 milestone Sep 16, 2025
@felipeelia felipeelia linked an issue Sep 16, 2025 that may be closed by this pull request
@felipeelia felipeelia merged commit aac9457 into 10up:develop Sep 16, 2025
17 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Admin Menu Icon Rendering

2 participants