[wp-trac] [WordPress Trac] #52512: Blocks: Add missing apiVersion field when preparing server-registered blocks for the block editor
WordPress Trac
noreply at wordpress.org
Fri Feb 12 15:59:08 UTC 2021
#52512: Blocks: Add missing apiVersion field when preparing server-registered
blocks for the block editor
--------------------------+---------------------
Reporter: gziolo | Owner: gziolo
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by gziolo):
* owner: (none) => gziolo
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"50297" 50297]:
{{{
#!CommitTicketReference repository="" revision="50297"
Blocks: Add missing apiVersion field when preparing server-registered
blocks for the block editor
When working on changes to @wordpress/create-block tool
(https://github.com/WordPress/gutenberg/pull/28883) to use
register_block_type_from_metadata with block.json file in the templates
for scaffolded blocks I run into this issue where apiVersion wasn't
exposed from the server.
Fixes #52512.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52512#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list