[wp-trac] [WordPress Trac] #53912: Bug when using Block-styles loading enhancements in WP 5.8

WordPress Trac noreply at wordpress.org
Wed Aug 11 05:16:44 UTC 2021


#53912: Bug when using Block-styles loading enhancements in WP 5.8
--------------------------+-----------------------------
 Reporter:  wilbertalvis  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I'm not sure if this is a a bug, but when enabling this feature on Windows
 some of the blocks assets are not loaded on the frontend.

 When checking the {{{register_block_style_handle}}} function, some blocks
 are ignored as the {{{$is_core_block}}} variable is false due to slash
 inconsistencies in the {{{$metadata['file']}}} variable.

 Style of blocks that are registered from
 {{{register_core_block_types_from_metadata}}} are loaded, but the blocks
 that are registered from their respective directory; such as
 {{{register_block_core_latest_comments}}} are not loaded.

 Thank you!

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


More information about the wp-trac mailing list