Changeset 6795 for trunk/wp-admin/includes/media.php
- Timestamp:
- 02/12/2008 04:47:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.