[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 18:08:58 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 andraganescu):

 Well, @aduth @jorgefilipecosta the way to find out is to test and see if
 there is any issue. I will open a PR and see if the Navigation block can
 instead work instead by hooking into  `render_block ` filter as indeed
 that filter passes the whole $block so the rest of the logic should be
 unchanged. I will post the PR here as well asap!

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


More information about the wp-trac mailing list