[wp-trac] [WordPress Trac] #48630: Twenty Twenty: please use wp_enqueue_style for the fonts
WordPress Trac
noreply at wordpress.org
Thu Nov 14 15:24:10 UTC 2019
#48630: Twenty Twenty: please use wp_enqueue_style for the fonts
-----------------------------+------------------------------
Reporter: markhowellsmead | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui, performance
-----------------------------+------------------------------
Comment (by markhowellsmead):
Replying to [comment:5 Otto42]:
> I'm confused as to what the issue here is. If a child theme wants to use
different fonts, it can do so simply by defining them as such in the child
theme CSS.
This true, but the font files from the parent theme will still be loaded,
which is a(n albiet minor) performance hit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48630#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list