Register LightSpeed SVG icon collection (WP 7.1) and namespace inc/ classes - #20
Draft
krugazul wants to merge 5 commits into
Draft
Register LightSpeed SVG icon collection (WP 7.1) and namespace inc/ classes#20krugazul wants to merge 5 commits into
krugazul wants to merge 5 commits into
Conversation
…nsistency feat(nav-ref-resolver): implement navigation reference auto-resolver refactor: update class names to remove LS_Plugin_ prefix and adjust namespaces chore: reorganize file structure and remove deprecated classes
- Added share-alt.svg for alternative sharing functionality. - Added share.svg for standard sharing functionality. - Added shield.svg for security representation. - Added sort.svg for sorting options. - Added special-interests.svg for categorizing interests. - Added star-fill.svg for filled star representation. - Added star.svg for outlined star representation. - Added tag.svg for tagging functionality. - Added theme-moon.svg for dark mode representation. - Added theme-sun.svg for light mode representation. - Added thumbs-up.svg for positive feedback. - Added tiktok.svg for TikTok representation. - Added transport.svg for transportation options. - Added trending-up.svg for trending indicators. - Added trophy.svg for achievements. - Added truck.svg for delivery representation. - Added twitter-x.svg for Twitter integration. - Added upload.svg for upload functionality. - Added user-plus.svg for adding new users. - Added user.svg for user representation. - Added users.svg for multiple users representation. - Added video.svg for video content. - Added warning.svg for alerts and warnings. - Added whatsapp.svg for WhatsApp integration. - Added youtube.svg for YouTube representation.
…espace refactor Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
lightspeedSVG icon collection using the new WordPress 7.1 icon API (wp_register_icon_collection()/wp_register_icon()), auto-loading every.svgdropped intoassets/icons/lightspeed/viaLS_Plugin\Icons.inc/underLS_Plugin\, dropping theLS_Plugin_prefix from class names, and renames the corresponding files (e.g.class-ls-plugin-icons.php→class-icons.php) to match the existingclass-permalinks.phpconvention.CHANGELOG.md,AGENTS.md, and.github/instructions/php.instructions.mdto reflect the new naming/namespacing convention.Test plan
php -lacross all touchedinc/files andls-plugin.php(done locally, all pass)npm run plugin:validate(done locally, passes)lightspeedicon collection and its icons appear in the block editor's icon picker on WordPress 7.1+wp_get_icon( 'lightspeed/<name>' )render correctly and pick upcurrentColor🤖 Generated with Claude Code