[wp-trac] [WordPress Trac] #46370: A proposal for creating an API to register and enqueue web fonts
WordPress Trac
noreply at wordpress.org
Tue Sep 29 04:50:31 UTC 2020
#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, privacy
-----------------------------+-----------------------------------
Comment (by aristath):
> My only question about this ticket is will it be usable by commercially
licensed fonts as well? ie. could Adobe Fonts/TypeKit make a plugin that
offered their catalog of fonts and still leveraged this API? I don't off
hand know what their needs would be, maybe just that the output be
filterable enough to tack on a API token/license key where needed.
In its first iteration the current code does not support that. However,
adding an extra argument in one of the calls to allow tweaking the request
headers (and therefore allow API authentication) is something we can
definitely do.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46370#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list