[wp-trac] [WordPress Trac] #54790: Stylesheets enqueued via `wp_enqueue_block_style` should only be enqueued when the block gets rendered

WordPress Trac noreply at wordpress.org
Tue Jan 11 11:50:33 UTC 2022


#54790: Stylesheets enqueued via `wp_enqueue_block_style` should only be enqueued
when the block gets rendered
--------------------------+------------------------------
 Reporter:  aristath      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by Mamaduka):

 I've tested this patch in the Gutenberg repo, and it works as expected -
 https://github.com/WordPress/gutenberg/pull/37848#pullrequestreview-849055787.

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


More information about the wp-trac mailing list