WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/03/2015 03:22:14 PM (7 years ago)
Author:
helen
Message:

Media list view: ensure thumbnails are appropriately sized and constrained.

see #29993.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r32687 r32688  
    366366                echo "<div class='media-icon {$mime}-icon'>";
    367367
    368                 if ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) {
     368                if ( $thumb = wp_get_attachment_image( $post->ID, array( 60, 60 ), true ) ) {
    369369                    if ( $this->is_trash || ! $user_can_edit ) {
    370370                        echo $thumb;
Note: See TracChangeset for help on using the changeset viewer.