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:
parent
cce67416a3
commit
6be1f709f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue