[wp-trac] [WordPress Trac] #51612: `render_block_data` for nested blocks - WP_Block::render vs render_block

WordPress Trac noreply at wordpress.org
Wed Oct 6 06:35:25 UTC 2021


#51612: `render_block_data` for nested blocks - WP_Block::render vs render_block
---------------------------------------------+-----------------------------
 Reporter:  gaambo                           |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  Future Release
Component:  Editor                           |     Version:  5.5
 Severity:  normal                           |  Resolution:
 Keywords:  has-unit-tests has-patch commit  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by gaambo):

 https://github.com/WordPress/wordpress-develop/pull/1684 is a great
 solution - I tested it locally and it worked for my manual test cases.
 The unit tests I added in my PR work as well - You can use them in this PR
 if you want (any feedback welcome, these are some of my first unit tests
 😅).
 https://github.com/WordPress/wordpress-develop/pull/1617/files#diff-
 9892dfa3fee8002bf9e3b901c50243a72e2e9509700d2cbd857ccc757348106e

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


More information about the wp-trac mailing list