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

WordPress Trac noreply at wordpress.org
Fri Sep 30 04:49:35 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:  Future Release
Component:  Editor         |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-----------------------------

Comment (by isabel_brison):

 > Do you have some code that demonstrates the problem?

 I have a draft PR: https://github.com/WordPress/gutenberg/pull/43504/files
 where I'm trying to change a block's inner wrapper in a
 'render_block_data' filter so the $block_content passed to the subsequent
 'render_block' filter already has those changes. Will that work as a
 demonstration?

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


More information about the wp-trac mailing list