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
This commit is contained in:
Matt Mullenweg 2008-03-23 18:19:03 +00:00
parent cbfb5d78b5
commit 58714b0c30
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