Skip to content

Commit

Permalink
Remove prepend_attachment from filters run on content for post templa…
Browse files Browse the repository at this point in the history
…te parts (#20360)

Remove prepend_attachment from filters run on content for post template parts

#20342
  • Loading branch information
johnstonphilip authored Feb 21, 2020
1 parent 27b9c8f commit c6821d7
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 @@ -39,7 +39,6 @@ function render_block_core_template_part( $attributes ) {
$content = convert_smilies( $content );
$content = wpautop( $content );
$content = shortcode_unautop( $content );
$content = prepend_attachment( $content );
$content = wp_make_content_images_responsive( $content );
$content = do_shortcode( $content );

Expand Down

0 comments on commit c6821d7

Please sign in to comment.