[wp-trac] [WordPress Trac] #56945: Avoid running unnecessary expensive logic around theme.json parsing for classic themes
WordPress Trac
noreply at wordpress.org
Tue Nov 1 19:24:19 UTC 2022
#56945: Avoid running unnecessary expensive logic around theme.json parsing for
classic themes
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1.1
Component: Editor | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion needs-unit- | Focuses: css,
tests | performance
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
On a related matter, I worked on improving the performance of the
`WP_Theme_JSON_Resolver` class.
Se my WIP PR to convert class to use non-static methods and use a global
class instance. See [https://github.com/WordPress/wordpress-
develop/pull/3540 #3540].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56945#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list