[wp-trac] [WordPress Trac] #57814: Use `wp_theme_has_theme_json` in `_wp_theme_json_webfonts_handler`
WordPress Trac
noreply at wordpress.org
Wed Mar 8 13:57:24 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 hellofromTonya):
Thanks for opening this ticket @spacedmonkey.
FYI: This code is temporary and a stopgap. The plan is to remove it in 6.3
and replace with the Fonts API.
What's the status on the API?
Currently being stabilized in the Gutenberg repo. I'm not seeing any
blockers or concerns for it to land in 6.3.
Thinking the proposed fix for this ticket can stay in `Awaiting Review`
just in case for some reason the API doesn't land in 6.3.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57814#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list