From 58714b0c30b3c8e4448bfef3fd553403970cb7a9 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 23 Mar 2008 18:19:03 +0000 Subject: [PATCH] Return the content so everything doesn't go blank from [7491]. See #6537. Hat tip: robmil. git-svn-id: https://develop.svn.wordpress.org/trunk@7492 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '

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