[wp-trac] [WordPress Trac] #59863: Hundreds of fonts loaded via wp-fonts-local on front-end and dashboard

WordPress Trac noreply at wordpress.org
Thu Nov 9 16:11:41 UTC 2023


#59863: Hundreds of fonts loaded via wp-fonts-local on front-end and dashboard
-------------------------------+------------------------------
 Reporter:  rghedin            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  6.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by jorbin):

 * keywords:   => reporter-feedback


Comment:

 Welcome to trac @rghedin.

 When I checked this with twentytwentyfour, it loads 4 fonts, not hundreds.
 Looking through the code of the
 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/fonts
 /class-wp-font-face-resolver.php font loader], this is based off global
 settings which are largely a result of the theme.json.

 You mention having tried this on multiple themes, can you link the
 theme.json for each of these? Do you have any plugins that would be
 modifying it?

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


More information about the wp-trac mailing list