Repository navigation
use the indieweb i as menu icon - #316
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the WordPress admin menu icon for the IndieWeb plugin to use a simplified “i” mark delivered as a base64-encoded SVG data URI, instead of the full IndieWeb logo squeezed into the 20px menu icon slot.
Changes:
- Added a
get_menu_icon()helper that returns a base64-encoded SVG data URI. - Updated the
add_menu_page()call to use the new data-URI icon instead of thestatic/img/indieweb.svgfile.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The admin menu used the full IndieWeb logo, squeezed into the 20px icon slot. This replaces it with just the "i" of the logo, as a base64 encoded SVG, so WordPress colors it like the other menu icons (gray by default, white when active).
Based on #300, so that one should be merged first.