[wp-trac] [WordPress Trac] #45451: Filter to allow plugins override block attributes
WordPress Trac
noreply at wordpress.org
Thu Jan 10 23:15:54 UTC 2019
#45451: Filter to allow plugins override block attributes
------------------------------+---------------------
Reporter: kkarpieszuk | Owner: pento
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.1
Component: Editor | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+---------------------
Changes (by pento):
* owner: (none) => pento
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"44553" 44553]:
{{{
#!CommitTicketReference repository="" revision="44553"
Blocks: Add the `pre_render_block` and `render_block_data` filters.
At the start of `render_block()`, the `pre_render_block` filter allows the
function to be short-circuited, and the `render_block_data` filter is
applied to the `$block` parameter before it's processed.
Props kkarpieszuk, pento.
Fixes #45451.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45451#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list