[wp-trac] [WordPress Trac] #59780: Add functionality to dequeue a block style added via wp_enqueue_block_style

WordPress Trac noreply at wordpress.org
Tue Oct 31 19:53:29 UTC 2023


#59780: Add functionality to dequeue a block style added via wp_enqueue_block_style
---------------------------+-----------------------------
 Reporter:  jorbin         |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Script Loader  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Currently there is no API to remove a block style that has been enqueued
 with `wp_enqueue_block_style`. This makes it harder than neccessary for a
 child theme to override a blockstyle from a theme.

 See the discussion in this core thread:
 https://wordpress.slack.com/archives/C02RQBWTW/p1698774094584149

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


More information about the wp-trac mailing list