[wp-trac] [WordPress Trac] #58454: script-loader.php doesn't support font-display: optional, that is recommended for performance
WordPress Trac
noreply at wordpress.org
Mon Jul 10 09:29:39 UTC 2023
#58454: script-loader.php doesn't support font-display: optional, that is
recommended for performance
-------------------------------------------------+-------------------------
Reporter: asafm7 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs- | Focuses:
testing-info | performance
-------------------------------------------------+-------------------------
Comment (by asafm7):
Hi @mukesh27:
- Set {{{"fontDisplay": "optional"}}} for a font on {{{theme.json}}}
- Use DevTools to verify the font was actually loaded as optional, and not
as {{{font-display: fallback}}}
Thanks for testing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58454#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list