-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs and API: clarify naming around block registration (#842)
* Change api/registration `getBlocks` to `getRegisteredBlocks`. * Update inline documentation in blocks/api. * Expose getBlocks as getRegisteredBlocks. * Use getBlockTypes. * Switch to getBlockType / blockName pair. * Fix tests. * Rename (un)registerBlock as (un)registerBlockType * Convert more blockSettings to blockType * Rename PHP register_block to register_block_type * Correct blockType to blockName * Update block Readme to refer to type. * Simplify blockName attribute.
- Loading branch information
Showing
54 changed files
with
384 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.