[wp-trac] [WordPress Trac] #48104: Add the gutenberg_provide_render_callback_with_block_object shim to core
WordPress Trac
noreply at wordpress.org
Mon Sep 23 02:39:30 UTC 2019
#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.3
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+---------------------
Description changed by andraganescu:
Old description:
> Part of making the navigation block dynamic was adding a new filter at
> `pre_render_block` which enhances the way blocks are passed to the server
> render callback by passing `render_callback` the block object as the
> argument.
>
> We should to update WP Core with these changes and remove them from the
> Gutenberg compat lib
> https://github.com/WordPress/gutenberg/blob/95e769df1f82f6b0ef587d81af65dd2f48cd1c38/lib/compat.php#L33
New description:
Part of making the navigation block dynamic was adding a new filter at
`pre_render_block` which enhances the way blocks are passed to the server
render callback by passing `render_callback` the block object as the
argument.
We should to update WP Core with these changes and remove them from the
Gutenberg compat lib
https://github.com/WordPress/gutenberg/blob/95e769df1f82f6b0ef587d81af65dd2f48cd1c38/lib/compat.php#L33
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48104#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list