[wp-trac] [WordPress Trac] #53175: Block Editor: Include the theme.json infrastructure code and support
WordPress Trac
noreply at wordpress.org
Tue Jun 1 23:08:44 UTC 2021
#53175: Block Editor: Include the theme.json infrastructure code and support
--------------------------------------+--------------------------
Reporter: youknowriad | Owner: youknowriad
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 5.8
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Comment (by SergeyBiryukov):
In [changeset:"51056" 51056]:
{{{
#!CommitTicketReference repository="" revision="51056"
Block Editor: Load the `WP_Theme_JSON_Resolver` class in `wp-admin/load-
styles.php`.
This ensures correct load order when style concatenation is used, e.g.
when `SCRIPT_DEBUG` is off.
Additionally, make sure the `WP_CONTENT_DIR` constant is defined for use
in `get_theme_root()` via `get_stylesheet_directory()`.
Follow-up to [50992], [51001], [51013].
Props nosolosw.
See #53175.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53175#comment:43>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list