diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 380db6d097..47c1068ade 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -504,7 +504,7 @@ function prepend_attachment($content) { global $post; if ( empty($post->post_type) || $post->post_type != 'attachment' ) - return; + return $content; $p = '