From 6be1f709f6f41b6f5b44d891171b65e8f1fd43d2 Mon Sep 17 00:00:00 2001 From: matt 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: http://svn.automattic.com/wordpress/trunk@7492 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 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