[wp-trac] [WordPress Trac] #57814: Use `wp_theme_has_theme_json` in `_wp_theme_json_webfonts_handler`

WordPress Trac noreply at wordpress.org
Fri Mar 10 22:21:18 UTC 2023


#57814: Use `wp_theme_has_theme_json` in `_wp_theme_json_webfonts_handler`
---------------------------+------------------------------
 Reporter:  spacedmonkey   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  6.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+------------------------------

Comment (by spacedmonkey):

 @flixos90 Did you test other request types, like REST API calls, admin,
 RSS feeds etc. This change improves the bootstrap, if like in the case of
 REST API call, theme.json is very processed, it might need up REST API
 calls by 11-16% without the 9-16% lost in template.

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


More information about the wp-trac mailing list