[wp-trac] [WordPress Trac] #48104: Add the gutenberg_provide_render_callback_with_block_object shim to core
WordPress Trac
noreply at wordpress.org
Fri Jan 31 16:31:28 UTC 2020
#48104: Add the gutenberg_provide_render_callback_with_block_object shim to core
-------------------------------------------------+-------------------------
Reporter: andraganescu | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.4
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-dev- | Focuses:
note needs-docs |
-------------------------------------------------+-------------------------
Comment (by jorgefilipecosta):
It seems currently on wp-trunk the navigation block does not work on the
front end. The block is not rendered(on the plugin it works). I think the
problem affecting the block _render parameter issue. The navigation block
will land on WordPress 5.4, so we will need to land a fix, even if
temporary.
@andraganescu what are your thoughts on the option @aduth suggested:
> I wonder if there's also another option for these blocks where, instead
of adding this through the block interface render callback, a block can
choose to implement their own advanced rendering by applying their own
hooks to render_block filter, etc.
It seems this option suggested by @aduth does not involve a public API
change. Is that right @aduth? @andraganescu, what are your thoughts on
this option?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48104#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list