[wp-trac] [WordPress Trac] #55148: In block themes, styles should load in the head

WordPress Trac noreply at wordpress.org
Wed Apr 20 13:51:36 UTC 2022


#55148: In block themes, styles should load in the head
---------------------------+-----------------------
 Reporter:  oandregal      |       Owner:  audrasjb
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  5.9.1
Component:  Script Loader  |     Version:  5.9
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------

Comment (by audrasjb):

 In [changeset:"53234" 53234]:
 {{{
 #!CommitTicketReference repository="" revision="53234"
 Editor: Move `wp_enqueue_block_style()` to `wp-includes/script-
 loader.php`, for better consistency.

 As a result of [52741] and [52743], `wp_enqueue_block_support_styles()`
 was moved to `wp-includes/script-loader.php`. However,
 `wp_enqueue_block_style()` was still defined in `wp-includes/blocks.php`.
 This changeset also moves `wp_enqueue_block_support_styles()` to `wp-
 includes/script-loader.php` for better consistency.

 Follow-up to [52741], [52743].

 Props SergeyBiryukov, mukesh27, audrasjb.
 Fixes #55182.
 See #55148.
 }}}

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


More information about the wp-trac mailing list