[wp-trac] [WordPress Trac] #55182: Reconsider wp_enqueue_block_style() location

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

#55182: Reconsider wp_enqueue_block_style() location
 Reporter:  SergeyBiryukov                        |       Owner:  audrasjb
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  6.0
Component:  Editor                                |     Version:  5.9.1
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  has-patch commit assigned-for-commit  |     Focuses:
Changes (by audrasjb):

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


 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/55182#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list