[wp-trac] [WordPress Trac] #62046: `render_block_context` filter works differently on top-level vs. inner blocks
WordPress Trac
noreply at wordpress.org
Tue Nov 12 20:03:36 UTC 2024
#62046: `render_block_context` filter works differently on top-level vs. inner
blocks
--------------------------------------+---------------------
Reporter: dlh | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.8
Component: Editor | Version: 5.9
Severity: normal | Resolution:
Keywords: has-unit-tests has-patch | Focuses:
--------------------------------------+---------------------
Comment (by dlh):
Of all the times that I've wanted to use the `render_block_context`
filter, I've approached it as if it was filtering the available context to
be passed to inner blocks, not filtering the actual context of a block. I
can't recall a time when I've meant to filter the actual context. So,
regardless of what ends up happening with this particular filter, from a
practical perspective, that's the functionality that would be useful to me
to have.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62046#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list