[wp-trac] [WordPress Trac] #53175: Block Editor: Include the theme.json infrastructure code and support

WordPress Trac noreply at wordpress.org
Tue May 25 21:39:52 UTC 2021


#53175: Block Editor: Include the theme.json infrastructure code and support
--------------------------------------+--------------------------
 Reporter:  youknowriad               |       Owner:  youknowriad
     Type:  task (blessed)            |      Status:  closed
 Priority:  normal                    |   Milestone:  5.8
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------

Comment (by SergeyBiryukov):

 In [changeset:"51013" 51013]:
 {{{
 #!CommitTicketReference repository="" revision="51013"
 Block Editor: Only load the `WP_Theme_JSON_Resolver` class once.

 Since the class is now loaded via `wp-includes/script-loader.php`, which
 is required earlier in `wp-settings.php`, loading it again in `wp-
 settings.php` is redundant.

 Follow-up to [50992], [51001].

 See #53175.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53175#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list