Changeset 6795
- Timestamp:
- 02/12/2008 04:47:31 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/media.css
r6659 r6795 140 140 } 141 141 .multimedia-item .thumbnail { 142 142 max-width: 128px; 143 max-height: 128px; 143 144 } 144 145 .multimedia-item .pinkynail { 145 146 position: absolute; 146 top: 3px; 147 left: 3px; 147 top: 2px; 148 left: 2px; 149 height: 32px; 148 150 max-width: 40px; 149 max-height: 40px;150 151 } 151 152 .describe { … … 167 168 padding-right: 1em; 168 169 } 169 170 a.delete { 170 p.delete { 171 171 clear: both; 172 margin: 0; 173 } 174 p.delete a { 175 padding: 4px; 172 176 } 173 177 .describe-toggle-on, .describe-toggle-off { -
trunk/wp-admin/includes/media.php
r6782 r6795 445 445 if ( empty($thumb_url) ) 446 446 $thumb_url = wp_mime_type_icon( $attachment_id ); 447 if ( empty($thumb_url) && ( $post =& get_post( $attachment_id ) ) && substr($post->post_mime_type, 0, 5) == 'image' ) 448 $thumb_url = wp_get_attachment_url( $attachment_id ); 447 449 448 450 $title_label = __('Title'); … … 494 496 $item .= " 495 497 </fieldset> 496 <p ><a id='del$attachment_id' class='delete' href='$delete_href'>$delete</a></p>498 <p class='delete'><a id='del$attachment_id' class='delete' href='$delete_href'>$delete</a></p> 497 499 </div> 498 500 ";
Note: See TracChangeset
for help on using the changeset viewer.