diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index a932b29c94039..3268983534566 100644 --- a/src/wp-includes/blocks.php +++ b/src/wp-includes/blocks.php @@ -1200,10 +1200,12 @@ function apply_block_hooks_to_content_from_post_object( $content, WP_Post $post ); } - // We need to wrap the content in a temporary wrapper block with that metadata - // so the Block Hooks algorithm can insert blocks that are hooked as first or last child - // of the wrapper block. - // To that end, we need to determine the wrapper block type based on the post type. + /* + * We need to wrap the content in a temporary wrapper block with that metadata + * so the Block Hooks algorithm can insert blocks that are hooked as first or last child + * of the wrapper block. + * To that end, we need to determine the wrapper block type based on the post type. + */ if ( 'wp_navigation' === $post->post_type ) { $wrapper_block_type = 'core/navigation'; } elseif ( 'wp_block' === $post->post_type ) {