[wp-trac] [WordPress Trac] #61779: block.json - custom block style asset is loaded unconditionally to all pages with a non block-based theme

WordPress Trac noreply at wordpress.org
Sun Jul 28 06:50:13 UTC 2024


#61779: block.json - custom block style asset is loaded unconditionally to all
pages with a non block-based theme
--------------------------+-----------------------------
 Reporter:  incrediblewp  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.6.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Wordpress version: 6.6.1.
 Description:
 When using the block.json method to register a custom block and a regular
 theme is being used (not a block-based theme), the block style asset is
 loaded  even when the block is not being used. When switching to a block-
 based theme the block style asset is loaded conditionally.

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


More information about the wp-trac mailing list