diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 380db6d09..47c1068ad 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 = '

'; // show the medium sized image representation of the attachment if available, and link to the raw file