[wp-trac] [WordPress Trac] #57814: Use `wp_theme_has_theme_json` in `_wp_theme_json_webfonts_handler`
WordPress Trac
noreply at wordpress.org
Mon Feb 27 18:10: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: | Focuses: performance
---------------------------+------------------------------
Comment (by spacedmonkey):
As you can see from the above graphs, marked render start much early if
font system is not loaded. At 32ms mark instead of 38ms mark. Meaning part
start to render faster if this is conditionally loaded.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57814#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list