[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:39:34 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 I don't think the FE performance is the only metric we judge
things on. If this had no FE benefit, it would still be worth doing.
As you can see from the above screenshots are the the posts REST API
endpoint, there is a nearly 4ms improvement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57814#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list