diff --git src/wp-admin/includes/class-wp-media-list-table.php src/wp-admin/includes/class-wp-media-list-table.php
index cc8940a..bfa71ba 100644
|
|
|
class WP_Media_List_Table extends WP_List_Table {
|
| 380 | 380 | public function column_title( $post ) { |
| 381 | 381 | list( $mime ) = explode( '/', $post->post_mime_type ); |
| 382 | 382 | |
| | 383 | $attachment_id = $post->ID; |
| | 384 | |
| | 385 | if($mime == 'video' || $mime == 'audio'){ |
| | 386 | $thumbnail_id = get_post_thumbnail_id($post->ID); |
| | 387 | |
| | 388 | if(!empty($thumbnail_id)){ |
| | 389 | $attachment_id = $thumbnail_id; |
| | 390 | } |
| | 391 | } |
| | 392 | |
| 383 | 393 | $title = _draft_or_post_title(); |
| 384 | | $thumb = wp_get_attachment_image( $post->ID, array( 60, 60 ), true, array( 'alt' => '' ) ); |
| | 394 | $thumb = wp_get_attachment_image( $attachment_id, array( 60, 60 ), true, array( 'alt' => '' ) ); |
| 385 | 395 | $link_start = ''; |
| 386 | 396 | $link_end = ''; |
| 387 | 397 | |