Make WordPress Core


Ignore:
Timestamp:
03/23/2008 05:02:11 PM (17 years ago)
Author:
ryan
Message:

Taxonomy queries and urls. Props andy. see #6357

File:
1 edited

Legend:

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

    r7404 r7491  
    502502
    503503function prepend_attachment($content) {
     504    global $post;
     505
     506    if ( empty($post->post_type) || $post->post_type != 'attachment' )
     507        return;
     508
    504509    $p = '<p class="attachment">';
    505510    // show the medium sized image representation of the attachment if available, and link to the raw file
Note: See TracChangeset for help on using the changeset viewer.