#56184 closed defect (bug) (fixed)
register_block_type does not recognise "ancestor" block setting
| Reported by: | lovor | Owned by: | gziolo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0.2 |
| Component: | Editor | Version: | 6.0 |
| Severity: | normal | Keywords: | has-patch fixed-major has-unit-tests |
| Cc: | Focuses: | ui |
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
@
4 years ago
- Owner set to
- Status new → assigned
Great catch @lovor. Thank you so much for including the patch. I will take care of fixing this issue now.
#5
@
4 years ago
- Keywords fixed-major has-unit-tests added
- Resolution fixed
- Status closed → 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.
4 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for #56184 - adding 'ancestor' mapping