Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52512


Ignore:
Timestamp:
02/12/2021 03:56:26 PM (4 years ago)
Author:
gziolo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52512 – Description

    initial v1  
    1 When working on changes to `@wordpress/create-block` tool 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. This patch tries to address it.
     1When 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. This patch tries to address it.
    22
    33I also double-checked that all necessary fields exposed in the REST API endpoint with block types are included `get_block_editor_server_block_settings` call that is eventually going to be deprecated in favor of the former. See the list for reference: