[wp-trac] [WordPress Trac] #55985: [Older Twenty-* Themes] Replace directly loading fonts from Google Fonts with including them in each theme
WordPress Trac
noreply at wordpress.org
Wed Aug 3 22:13:56 UTC 2022
#55985: [Older Twenty-* Themes] Replace directly loading fonts from Google Fonts
with including them in each theme
---------------------------+----------------------
Reporter: luminuu | Owner: (none)
Type: enhancement | Status: new
Priority: high | Milestone: 6.1
Component: Bundled Theme | Version:
Severity: major | Resolution:
Keywords: has-patch | Focuses: privacy
---------------------------+----------------------
Comment (by sabernhardt):
Perhaps we should not ''start'' to specify locally installed fonts for
these themes. We have received a few complaints about the font weight
mismatch of "Source Serif Pro" in Twenty Twenty-Two (#56332).
By 'deprecating' I meant leaving the resource hint function itself
unchanged, probably in the same place, but [https://github.com/sabernhardt
/wordpress-develop/pull/12/files#diff-
ee4bfe2db41f6d65222cb7cb8d2c59040db603c23afbd7321b6fd743a5c0c5c7L257
removing the call to the function] and [https://github.com/sabernhardt
/wordpress-develop/pull/12/files#diff-
ee4bfe2db41f6d65222cb7cb8d2c59040db603c23afbd7321b6fd743a5c0c5c7R218
adding a 'deprecated' note] to the docblock.
Also, I tried [https://github.com/sabernhardt/wordpress-
develop/pull/14/files#diff-
61101c65a07b58f9d7fb24c4c0fb65071ae434eec77d80ed9cb2e65986bc304cR430
adding the font stylesheet to Classic Editor with an array] from
`twentyfourteen_fonts_urls()`, so the stylesheet could be removed from
`add_editor_style()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55985#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list