WordPress.org

Make WordPress Core

Changeset 7218


Ignore:
Timestamp:
03/10/2008 11:04:20 PM (10 years ago)
Author:
matt
Message:

More attachment thumbnail fixes, see #5911. Hat tip: andy.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-attachment-rows.php

    r7212 r7218  
    4040    case 'icon':
    4141        ?>
    42         <td class="media-icon"><?php echo get_the_attachment_link($post->ID, 'thumbnail', array(48,48)); ?></td>
     42        <td class="media-icon"><?php echo get_the_attachment_link($post->ID, false, array(48,48)); ?></td>
    4343        <?php
    4444        // TODO
  • trunk/wp-admin/includes/media.php

    r7213 r7218  
    837837</script>
    838838<div id="media-items">
     839<input type="submit" class="button savebutton" name="save" value="<?php _e('Save'); ?>" />
    839840<?php echo get_media_items( $id, $errors ); ?>
     841<input type="submit" class="button savebutton" name="save" value="<?php _e('Save'); ?>" />
    840842</div>
    841843
  • trunk/wp-includes/media.php

    r7212 r7218  
    323323
    324324    foreach ( $attachments as $id => $attachment ) {
    325         $link = get_the_attachment_link($id, false, array(128, 96), true);
     325        $link = get_the_attachment_link($id, true, array(128, 96), true);
    326326        $output .= "
    327327            <div>
Note: See TracChangeset for help on using the changeset viewer.