WordPress.org

Make WordPress Core

Ticket #5911: 5911-iconpretty.diff

File 5911-iconpretty.diff, 843 bytes (added by andy, 7 years ago)

fix squashed icons and use 80x60 thumbs

  • wp-admin/edit-attachment-rows.php

     
    4343 
    4444        case 'icon': 
    4545                ?> 
    46                 <td class="media-icon"><?php echo wp_get_attachment_link($post->ID, array(60, 40), false, true); ?></td> 
     46                <td class="media-icon"><?php echo wp_get_attachment_link($post->ID, array(80, 60), false, true); ?></td> 
    4747                <?php 
    4848                // TODO 
    4949                break; 
  • wp-admin/wp-admin.css

     
    502502} 
    503503 
    504504td.media-icon img { 
    505         max-width: 60px; 
    506         max-height: 40px; 
     505        max-width: 80px; 
     506        max-height: 60px; 
    507507} 
    508508 
    509509#update-nag, .plugin-update {