diff --git a/packages/block-library/src/template-part/index.php b/packages/block-library/src/template-part/index.php index 16a5be0202152..84c9dadb7493c 100644 --- a/packages/block-library/src/template-part/index.php +++ b/packages/block-library/src/template-part/index.php @@ -135,7 +135,7 @@ function render_block_core_template_part( $attributes ) { unset( $seen_ids[ $template_part_id ] ); $content = wptexturize( $content ); $content = convert_smilies( $content ); - $content = wp_filter_content_tags( $content, "template_part_{$area}" ); + $content = wp_filter_content_tags( $content ); // Handle embeds for block template parts. global $wp_embed;