Make WordPress Core


Ignore:
Timestamp:
08/23/2022 01:30:46 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Editor: Fix register_block_type does not recognise ancestor block setting.

When registering block through PHP, using register_block_type function, newly introduced ancestor block setting in block.json was not recognised. It worked though, when block is registered from JavaScript.

Props lovor, annezazu, gziolo.
Merges [53718] to the 6.0 branch.
Fixes #56184.

Location:
branches/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.