[wp-trac] [WordPress Trac] #45097: Introduce WP_Block_Type and WP_Block_Type_Registry classes

WordPress Trac noreply at wordpress.org
Thu Dec 13 09:43:34 UTC 2018


#45097: Introduce WP_Block_Type and WP_Block_Type_Registry classes
------------------------------------------------+-----------------------
 Reporter:  danielbachhuber                     |       Owner:  pento
     Type:  task (blessed)                      |      Status:  closed
 Priority:  normal                              |   Milestone:  5.0
Component:  REST API                            |     Version:
 Severity:  normal                              |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-5.0  |     Focuses:  rest-api
------------------------------------------------+-----------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44108" 44108]:
 {{{
 #!CommitTicketReference repository="" revision="44108"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45097#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list