[wp-trac] [WordPress Trac] #45097: Introduce WP_Block_Type and WP_Block_Type_Registry classes
WordPress Trac
noreply at wordpress.org
Thu Oct 18 01:30:52 UTC 2018
#45097: Introduce WP_Block_Type and WP_Block_Type_Registry classes
--------------------------------------+-----------------------
Reporter: danielbachhuber | Owner: pento
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Comment (by pento):
In [changeset:"43742" 43742]:
{{{
#!CommitTicketReference repository="" revision="43742"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45097#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list