Opened 4 years ago
Last modified 14 months ago
#53912 new defect (bug)
Bug when using Block-styles loading enhancements in WP 5.8
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
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!
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @wilbertalvis
Do you know if this is still a problem in newer versions of WordPress? Please add step by step testing instructions for how to reproduce the problem.