Ticket #6357: 6537.2.diff

File 6537.2.diff, 451 bytes (added by robmil, 7 months ago)
  • post-template.php

    old new  
    504504        global $post; 
    505505 
    506506        if ( empty($post->post_type) || $post->post_type != 'attachment' ) 
    507                 return
     507                return $content
    508508 
    509509        $p = '<p class="attachment">'; 
    510510        // show the medium sized image representation of the attachment if available, and link to the raw file