[wp-trac] [WordPress Trac] #53596: Pass the block instance to the `render_block` filters
WordPress Trac
noreply at wordpress.org
Tue Sep 21 21:31:50 UTC 2021
#53596: Pass the block instance to the `render_block` filters
-------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: Formatting | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+--------------------------
Changes (by johnbillion):
* owner: (none) => johnbillion
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"51841" 51841]:
{{{
#!CommitTicketReference repository="" revision="51841"
Formatting: Pass the block instance as a parameter to the `render_block`
filters.
This allows filters to access properties and methods on the block
instance.
Fixes #53596
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53596#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list