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
This commit is contained in:
matt 2008-03-23 18:19:03 +00:00
parent cce67416a3
commit 6be1f709f6
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ function prepend_attachment($content) {
global $post;
if ( empty($post->post_type) || $post->post_type != 'attachment' )
return;
return $content;
$p = '<p class="attachment">';
// show the medium sized image representation of the attachment if available, and link to the raw file