[wp-trac] [WordPress Trac] #48630: Twenty Twenty: please use wp_enqueue_style for the fonts

WordPress Trac noreply at wordpress.org
Thu Nov 14 11:09:44 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:                   |     Focuses:  ui, performance
-----------------------------+------------------------------

Comment (by markhowellsmead):

 Replying to [comment:1 nielslange]:
 > @markhowellsmead Where do you see `@import` statements for fonts?

 Sorry, my bad - they're directly-referenced `src`s in `@font-face`
 statements.

 https://github.com/WordPress/twentytwenty/blob/master/style.css#L254

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48630#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list