[wp-trac] [WordPress Trac] #50263: Editor: Introduce new API method that register block from `block.json` metadata file

WordPress Trac noreply at wordpress.org
Thu Jul 2 17:20:43 UTC 2020


#50263: Editor: Introduce new API method that register block from `block.json`
metadata file
-----------------------------------------------------+---------------------
 Reporter:  gziolo                                   |       Owner:  gziolo
     Type:  enhancement                              |      Status:  closed
 Priority:  normal                                   |   Milestone:  5.5
Component:  Editor                                   |     Version:  trunk
 Severity:  normal                                   |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-note  |     Focuses:
-----------------------------------------------------+---------------------
Changes (by gziolo):

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


Comment:

 In [changeset:"48279" 48279]:
 {{{
 #!CommitTicketReference repository="" revision="48279"
 Editor: Move core blocks registration to init hook

 After working on support for register_block_type_args filter in #49615, it
 became clear that we need to use init action for core blocks to make it
 possible to use this filter.

 Fixes #50263.
 }}}

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


More information about the wp-trac mailing list