[wp-trac] [WordPress Trac] #53494: Styles not applied to block using theme.json with seperate assets loading enabled

WordPress Trac noreply at wordpress.org
Tue Jul 6 15:16:46 UTC 2021


#53494: Styles not applied to block using theme.json with seperate assets loading
enabled
-------------------------------------------------+-------------------------
 Reporter:  walbo                                |       Owner:  desrosj
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.8
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major dev-    |     Focuses:
  reviewed                                       |
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51347" 51347]:
 {{{
 #!CommitTicketReference repository="" revision="51347"
 Editor: Ensure global styles are loaded in the footer when loading core
 assets individually.

 This fixes the logic in `wp_enqueue_global_styles()` to ensure that global
 styles are loaded in the footer when a site opts-in to loading Core block
 assets individually.

 This fixes a bug where styles defined in `themes.json` are not respected.

 Props walbo, nosolosw, mcsf, aristath, desrosj, jorbin.
 Merges [51309] to the 5.8 branch.
 Fixes #53494.
 }}}

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


More information about the wp-trac mailing list