[wp-trac] [WordPress Trac] #47282: Use font-display for Google Fonts in core themes
WordPress Trac
noreply at wordpress.org
Fri May 31 10:09:47 UTC 2019
#47282: Use font-display for Google Fonts in core themes
---------------------------+-----------------------
Reporter: westonruter | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Bundled Theme | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+-----------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"45485" 45485]:
{{{
#!CommitTicketReference repository="" revision="45485"
Bundled Theme: Load Google fonts with `display=fallback` parameter for
better UX in case the font cannot be loaded.
Providing this query parameter ensures the stylesheet contains the `font-
display: fallback` rule. This changeset also updates the Open Sans font
used by core accordingly.
Props westonruter.
Fixes #47282.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47282#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list