Open macmanx2 opened 4 years ago
I'd especially expect none of them to be included if the Social Menu is not in use.
This is already the case.
I'd expect only in-use SVGs to be included
This, however, is not. It would definitely be a good improvement for this feature.
This is already the case.
Interesting, over at my test site http://delta.jhuff.me/ and main site https://macmanx.com/ both running 2020, I'm not using the social menu or the social widget, but the excerpt above is from the source on those sites.
@macmanx2 That's because Twenty Twenty itself adds those: https://github.com/WordPress/twentytwenty/blob/c254ba12f1b4219889c3c7457b74da0a303b08b8/classes/class-twentytwenty-svg-icons.php
(╯°□°)╯︵ ʎʇuǝʍꓕ ʎʇuǝʍꓕ
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/