wordpress-develop/tests
Greg Ziółkowski 6ad4e34c54 Editor: Extend register_block_type to accept the path file or folder with block.json
Rather than using two distinct methods to register block types in WordPress core, let's make `register_block_type` the canonical method to deal with all use cases. In practice, the patch proposed extends its usage to work as a proxy to `register_block_type_from_metadata`. It should remove some confusion that we observed and let us be more explicit what's the latest recommendation.

Props matveb, mcsf.
Fixes #53233.



git-svn-id: https://develop.svn.wordpress.org/trunk@50927 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-19 13:50:09 +00:00
..
e2e Build/Test Tools: Remove explicit puppeteer dependency. 2021-03-29 18:05:47 +00:00
gutenberg Editor: Update @wordpress npm packages 2021-03-05 04:08:33 +00:00
phpunit Editor: Extend register_block_type to accept the path file or folder with block.json 2021-05-19 13:50:09 +00:00
qunit Editor: Enqueue script and style assets only for blocks present on the page 2021-05-11 09:41:48 +00:00