[wp-trac] [WordPress Trac] #50263: Editor: Introduce new API method that register block from `block.json` metadata file
WordPress Trac
noreply at wordpress.org
Tue Jun 23 15:43:34 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- | Focuses:
note dev-feedback |
-------------------------------------------------+-------------------------
Changes (by gziolo):
* owner: (none) => gziolo
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"48141" 48141]:
{{{
#!CommitTicketReference repository="" revision="48141"
Editor: Introduce new API method that register block from `block.json`
metadata file
Backports changes added to Gutenberg in:
- https://github.com/WordPress/gutenberg/pull/20794
- https://github.com/WordPress/gutenberg/pull/22519
`register_block_type_from_metadata` function is going to be used to
register all blocks on the server using `block.json` metadata files.
Props ocean90, azaozz, aduth, mcsf, jorgefilipecosta, spacedmonkey,
nosolosw, swissspidy and noahtallen.
Fixes #50263.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50263#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list