WordPress.org

Make WordPress Core

Changeset 7653


Ignore:
Timestamp:
04/14/2008 04:33:26 PM (10 years ago)
Author:
ryan
Message:

Validation fixes for uploader. Props sambauers. fixes #6659 for 2.5

Location:
branches/2.5/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/css/media.css

    r7585 r7653  
    138138}
    139139
    140 tbody.media-item-info tr {
     140thead.media-item-info tr {
    141141    background-color: transparent;
    142142}
    143 tbody.media-item-info th, tbody.media-item-info td {
     143thead.media-item-info th, thead.media-item-info td {
    144144    border: none;
    145145    margin: 0;
    146146}
    147147
    148 .form-table tbody.media-item-info {
     148.form-table thead.media-item-info {
    149149    border: 8px solid #fff;
    150150}
  • branches/2.5/wp-admin/includes/media.php

    r7650 r7653  
    667667    <div class='filename new'>$display_title</div>
    668668    <table class='slidetoggle describe $class'>
    669         <tbody class='media-item-info'>
     669        <thead class='media-item-info'>
    670670        <tr>
    671671            <td class='A1B1' rowspan='4'><img class='thumbnail' src='$thumb_url' alt='' /></td>
    672672            <td>$filename</td>
    673673        </tr>
    674         <td>$post->post_mime_type</td></tr>
     674        <tr><td>$post->post_mime_type</td></tr>
    675675        <tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr>
    676         <tr><td>" . apply_filters('media_meta', '', $post) . "</tr></td>
    677         </tbody>
     676        <tr><td>" . apply_filters('media_meta', '', $post) . "</td></tr>
     677        </thead>
    678678        <tbody>\n";
    679679
     
    746746    if ( !empty($form_fields['_final']) )
    747747        $item .= "\t\t<tr class='final'><td colspan='2'>{$form_fields['_final']}</td></tr>\n";
     748    $item .= "\t</tbody>\n";
    748749    $item .= "\t</table>\n";
    749750
Note: See TracChangeset for help on using the changeset viewer.