[wp-trac] [WordPress Trac] #53148: Blocks: Add new `render` property in `block.json` for block types
WordPress Trac
noreply at wordpress.org
Mon Sep 12 13:12:37 UTC 2022
#53148: Blocks: Add new `render` property in `block.json` for block types
--------------------------------------+---------------------
Reporter: gziolo | Owner: gziolo
Type: feature request | Status: closed
Priority: normal | Milestone: 6.1
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Changes (by gziolo):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"54132" 54132]:
{{{
#!CommitTicketReference repository="" revision="54132"
Blocks: Add new `render` property in `block.json` for block types
New `render` field in `block.json` file that accepts a string value. It
allows to pass a path to the PHP file that is going to be used to render
the block on the server. Related PR in Gutenberg:
https://github.com/WordPress/gutenberg/pull/42430.
Props spacedmonkey, luisherranz, welcher, noisysocks, matveb, fabiankaegy,
aristath, zieladam.
Fixes #53148.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53148#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list