diff --git a/src/wp-includes/block-template.php b/src/wp-includes/block-template.php index 18df594605..6da3908203 100644 --- a/src/wp-includes/block-template.php +++ b/src/wp-includes/block-template.php @@ -239,9 +239,7 @@ function get_the_block_template_html() { $content = do_blocks( $content ); $content = wptexturize( $content ); $content = convert_smilies( $content ); - $content = shortcode_unautop( $content ); $content = wp_filter_content_tags( $content, 'template' ); - $content = do_shortcode( $content ); $content = str_replace( ']]>', ']]>', $content ); // Wrap block template in .wp-site-blocks to allow for specific descendant styles