[wp-trac] [WordPress Trac] #51850: WP_Block: Inner blocks not being set

WordPress Trac noreply at wordpress.org
Mon Nov 23 06:44:17 UTC 2020


#51850: WP_Block: Inner blocks not being set
--------------------------+-------------------------
 Reporter:  noisysocks    |      Owner:  noisysocks
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  5.6
Component:  Editor        |    Version:  5.6
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-------------------------
 From https://wordpress.slack.com/archives/C02QB2JS7/p1606038913306200:

 Gutenberg 9.4 expects `$block→inner_blocks` to be set. WordPress's version
 of the `WP_Block` class is passing `$block->parsed_block['innerBlocks']`.
 Blocks such as Navigation return `''` when inner_blocks isn't set. ie My
 FSE navigation menus don't work anymore. It looks like some extra shimming
 is needed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51850>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list