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

WordPress Trac noreply at wordpress.org
Wed Feb 16 22:52:34 UTC 2022


#55182: Reconsider wp_enqueue_block_style() location
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Editor          |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Background: #55148.

 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()` is still defined in `wp-
 includes/blocks.php`.

 Should they both be defined in the same file for consistency?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55182>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list