mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Validation fixes for uploader. Props sambauers. fixes #6659 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b83563f368
commit
1d67896b70
@ -137,15 +137,15 @@ button.dismiss {
|
||||
max-width: 40px;
|
||||
}
|
||||
|
||||
tbody.media-item-info tr {
|
||||
thead.media-item-info tr {
|
||||
background-color: transparent;
|
||||
}
|
||||
tbody.media-item-info th, tbody.media-item-info td {
|
||||
thead.media-item-info th, thead.media-item-info td {
|
||||
border: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.form-table tbody.media-item-info {
|
||||
.form-table thead.media-item-info {
|
||||
border: 8px solid #fff;
|
||||
}
|
||||
|
||||
|
@ -666,15 +666,15 @@ function get_media_item( $attachment_id, $args = null ) {
|
||||
$toggle_links
|
||||
<div class='filename new'>$display_title</div>
|
||||
<table class='slidetoggle describe $class'>
|
||||
<tbody class='media-item-info'>
|
||||
<thead class='media-item-info'>
|
||||
<tr>
|
||||
<td class='A1B1' rowspan='4'><img class='thumbnail' src='$thumb_url' alt='' /></td>
|
||||
<td>$filename</td>
|
||||
</tr>
|
||||
<td>$post->post_mime_type</td></tr>
|
||||
<tr><td>$post->post_mime_type</td></tr>
|
||||
<tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr>
|
||||
<tr><td>" . apply_filters('media_meta', '', $post) . "</tr></td>
|
||||
</tbody>
|
||||
<tr><td>" . apply_filters('media_meta', '', $post) . "</td></tr>
|
||||
</thead>
|
||||
<tbody>\n";
|
||||
|
||||
$defaults = array(
|
||||
@ -745,6 +745,7 @@ function get_media_item( $attachment_id, $args = null ) {
|
||||
|
||||
if ( !empty($form_fields['_final']) )
|
||||
$item .= "\t\t<tr class='final'><td colspan='2'>{$form_fields['_final']}</td></tr>\n";
|
||||
$item .= "\t</tbody>\n";
|
||||
$item .= "\t</table>\n";
|
||||
|
||||
foreach ( $hidden_fields as $name => $value )
|
||||
|
Loading…
Reference in New Issue
Block a user