WordPress.org

Make WordPress Core

Timestamp:
10/18/2018 01:30:49 AM (3 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.

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

Location:
branches/5.0/tests/phpunit/tests/blocks
Files:
2 added

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