[wp-trac] [WordPress Trac] #56417: Changes from 'render_block_data' filter not always applied to inner blocks

WordPress Trac noreply at wordpress.org
Tue Aug 23 08:29:05 UTC 2022


#56417: Changes from 'render_block_data' filter not always applied to inner blocks
---------------------------+------------------------------
 Reporter:  isabel_brison  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Editor         |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by talldanwp):

 I haven't looked too deeply into this, but I wonder if in both places,
 rendering of blocks could be implemented as something like `$html =
 $blockList->render()`.

 It'd mean a new `render` function in the `WP_Block_List` class, but it
 would be one way of using the same code in both places and reducing
 inconsistencies.

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


More information about the wp-trac mailing list