diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php
index 05b2593861..4e0346e7d8 100644
a
|
b
|
class WP_Media_List_Table extends WP_List_Table { |
425 | 425 | public function column_title( $post ) { |
426 | 426 | list( $mime ) = explode( '/', $post->post_mime_type ); |
427 | 427 | |
| 428 | $attachment_id = $post->ID; |
| 429 | |
| 430 | if ( 'video' === $mime || 'audio' === $mime ) { |
| 431 | $thumbnail_id = get_post_thumbnail_id( $post->ID ); |
| 432 | |
| 433 | if ( ! empty( $thumbnail_id ) ) { |
| 434 | $attachment_id = $thumbnail_id; |
| 435 | } |
| 436 | } |
| 437 | |
428 | 438 | $title = _draft_or_post_title(); |
429 | | $thumb = wp_get_attachment_image( $post->ID, array( 60, 60 ), true, array( 'alt' => '' ) ); |
| 439 | $thumb = wp_get_attachment_image( $attachment_id, array( 60, 60 ), true, array( 'alt' => '' ) ); |
430 | 440 | $link_start = ''; |
431 | 441 | $link_end = ''; |
432 | 442 | |