Skip to content

Commit ecd823c

Browse files
committed
Merge branch 'trunk' into workflow-linting
2 parents 501e970 + 42652a8 commit ecd823c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/wp-includes/blocks.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ function insert_hooked_blocks( &$parsed_anchor_block, $relative_position, $hooke
971971
'blockName' => $hooked_block_type,
972972
'attrs' => array(),
973973
'innerBlocks' => array(),
974+
'innerHTML' => '',
974975
'innerContent' => array(),
975976
);
976977

src/wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public function get_item( $request ) {
181181
$block = array(
182182
'blockName' => $request['name'],
183183
'attrs' => $attributes,
184+
'innerBlocks' => array(),
184185
'innerHTML' => '',
185186
'innerContent' => array(),
186187
);

0 commit comments

Comments
 (0)