Make WordPress Core

Changeset 7492


Ignore:
Timestamp:
03/23/2008 06:19:03 PM (17 years ago)
Author:
matt
Message:

Return the content so everything doesn't go blank from [7491]. See #6537. Hat tip: robmil.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r7491 r7492  
    505505
    506506    if ( empty($post->post_type) || $post->post_type != 'attachment' )
    507         return;
     507        return $content;
    508508
    509509    $p = '<p class="attachment">';
Note: See TracChangeset for help on using the changeset viewer.