WordPress.org

Make WordPress Core

Ticket #8886: media.diff

File media.diff, 1011 bytes (added by Nicholas91, 6 years ago)

new labels with the new 'media-item-info-labels' class

  • opt/lampp/htdocs/wordpress/wp-admin/includes/media.php

     
    11381138                <thead class='media-item-info'> 
    11391139                <tr> 
    11401140                        <td class='A1B1' rowspan='4'><img class='thumbnail' src='$thumb_url' alt='' /></td> 
    1141                         <td>$filename</td> 
     1141                        <td><span class='media-item-info-labels'>File name:</span> $filename</td> 
    11421142                </tr> 
    1143                 <tr><td>$post->post_mime_type</td></tr> 
    1144                 <tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr> 
     1143                <tr><td><span class='media-item-info-labels'>File type:</span> $post->post_mime_type</td></tr> 
     1144                <tr><td><span class='media-item-info-labels'>Upload date: </span>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr> 
    11451145                <tr><td>" . apply_filters('media_meta', '', $post) . "</td></tr> 
    11461146                </thead> 
    11471147                <tbody>\n";