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

WordPress Trac noreply at wordpress.org
Tue Jun 21 15:40:13 UTC 2022


#46370: A proposal for creating an API to register and enqueue web fonts
-----------------------------+-----------------------------------
 Reporter:  jonoaldersonwp   |       Owner:  hellofromTonya
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  Future Release
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-dev-note   |     Focuses:  performance, privacy
-----------------------------+-----------------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch has-unit-tests needs-dev-note => needs-dev-note


Comment:

 Replying to [comment:128 grapplerulrich]:
 > @aristath or @hellofromTonya Would you be able to provide a short update
 what the next steps are? The reason I ask is that I came across a few
 different sites mentioning a PHP API, but from what I can see that did not
 make it in.

 Hello @grapplerulrich, a formal PHP API was not ready to merge into Core
 in 6.0. A stopgate though was included in 6.0 that handled web fonts and
 style variations defined in the theme's `theme.json` file (see changeset
 [53282]).

 == Webfonts API

 Where? In the Gutenberg repo
 Project board: https://github.com/WordPress/gutenberg/projects/66
 Ongoing roadmap: https://github.com/WordPress/gutenberg/issues/41479

 Status: WIP project / feature coordination and wrangling

 Next steps:
 1. This week: I'll share Mátias' vision, stages, and data flow and API
 diagrams in the ongoing roadmap issue.
 2. Then tasks prioritization will happen (with architectural needs likely
 being the first priority > i.e. to settle on the architecture for
 remaining work to build on top of it).

 I invite and welcome you to contribute.

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


More information about the wp-trac mailing list