#56184 closed defect (bug) (fixed)
register_block_type does not recognise "ancestor" block setting
Reported by: | lovor | Owned by: | gziolo |
---|---|---|---|
Milestone: | 6.0.2 | Priority: | normal |
Severity: | normal | Version: | 6.0 |
Component: | Editor | Keywords: | has-patch fixed-major has-unit-tests |
Focuses: | ui | Cc: |
Description
When registering block through PHP, using register_block_type function, newly introduced "ancestor" block setting in block.json is not recognised. It works though, when block is registered from javascript.
Attachments (1)
Change History (8)
#2
@
2 years ago
- Owner set to gziolo
- Status changed from new to assigned
Great catch @lovor. Thank you so much for including the patch. I will take care of fixing this issue now.
#5
@
2 years ago
- Keywords fixed-major has-unit-tests added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening to backport changes to 6.0
branch in case 6.0.2 release happens.
This ticket was mentioned in Slack in #core by costdev. View the logs.
2 years ago
Note: See
TracTickets for help on using
tickets.
Patch for #56184 - adding 'ancestor' mapping