Skip to content

Commit

Permalink
Site Editor: Remove call to wpautop (#30552)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Serong <[email protected]>
  • Loading branch information
andrewserong and andrewserong authored Apr 9, 2021
1 parent ef8f9d0 commit b620c92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/block-library/src/template-part/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ function render_block_core_template_part( $attributes ) {
unset( $seen_ids[ $template_part_id ] );
$content = wptexturize( $content );
$content = convert_smilies( $content );
$content = wpautop( $content );
$content = shortcode_unautop( $content );
if ( function_exists( 'wp_filter_content_tags' ) ) {
$content = wp_filter_content_tags( $content );
Expand Down

0 comments on commit b620c92

Please sign in to comment.