Make WordPress Core

Timestamp:
12/13/2018 09:43:29 AM (6 years ago)
Author:
pento
Message:

Blocks: Introduce WP_Block_Type and WP_Block_Type_Registry classes.

These are the foundational classes allowing blocks to be registered and used throughout WordPress.

This commit also includes the has_block() and has_blocks() functions, which are required for unit testing these classes.

Merges [43742] from the 5.0 branch to trunk.

Props adamsilverstein, danielbachhuber, desrosj.
Fixes #45097.
See #45109.

Location:
trunk
Files:
1 edited
1 copied

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