[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 15:38:57 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:
--------------------------+---------------------

Comment (by andraganescu):

 So the shim in Gutenberg `compat.php` only sends `$block` to the `render`
 method of `WP_Block_Type`. 48104.diff adds this to `render_block` and an
 argument to the `render` method of `WP_Block_Type`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48104#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list