Automattic / Automattic/jetpack

Social Icons Widget / Social Menu Theme Tool: include only SVGs needed

Open
#16,673 4 comments 1 reaction 0 assignees View on GitHub
[Feature] Extra Sidebar Widgets [Feature] Theme Tools [Focus] Performance [Pri] Normal Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### What's Happening

The following is included in the site's source, whether in use or not:

``

### What's Expected

I'd expect only in-use SVGs to be included, and I'd especially expect none of them to be included if the Social Menu is not in use.

originally reported via https://wordpress.org/support/topic/social-widget-feedback/

Contributor guide

Open the contributing guide

Research direction

Locate the Social Icons Widget and Social Menu Theme Tool entry points, then trace where the SVG symbol source shown in the issue is added to the site's source. Verify which icons are configured for use and confirm that the generated source contains only those SVGs; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.