[wp-trac] [WordPress Trac] #46370: A proposal for creating an API to register and enqueue web fonts

WordPress Trac noreply at wordpress.org
Thu Feb 28 10:28:56 UTC 2019


#46370: A proposal for creating an API to register and enqueue web fonts
-----------------------------+------------------------------
 Reporter:  jonoaldersonwp   |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  performance
-----------------------------+------------------------------

Comment (by jonoaldersonwp):

 **Clarification**: `$src` values should accept a local OR absolute URL,
 which allows for loading (and filtering, etc) of remotely hosted fonts,
 CDNs, etc.

 **Addition**: We're hinting strongly from a privacy and performance basis
 that ''Google Fonts isn't a privacy-friendly or performance-friendly''
 (without consideration and management - the kinds of which are often
 lacking, and which precipitated this spec). However, there's nothing
 stopping people from ignoring this function, and, continuing to /
 additionally loading Google Fonts resources.

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


More information about the wp-trac mailing list