spacedmonkey
a5ed225499
Media: Use featured image if available for attachment as preview instead of icon.
...
When rendering a list of attachments in `WP_Media_List_Table` class, none image attachments, show a generic icon. However, attachment types like audio and video support adding a featured image. For attachments that have featured images, us this image instead of the icon. This featured image is a better preview than a generic icon.
Props spacedmonkey, samful, johnbillion, JavierCasares, seanchayes, antpb, cadic, JeffPaul.
Fixes #49852 .
Built from https://develop.svn.wordpress.org/trunk@54941
git-svn-id: http://core.svn.wordpress.org/trunk@54493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-12-06 19:24:19 +00:00
..
2022-09-11 20:46:10 +00:00
2022-11-10 19:40:11 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2021-09-09 13:48:56 +00:00
2022-08-29 12:46:10 +00:00
2022-08-29 12:46:10 +00:00
2021-09-09 13:59:56 +00:00
2022-04-11 11:50:01 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2019-11-01 14:57:02 +00:00
2022-03-22 16:25:03 +00:00
2022-03-26 15:28:08 +00:00
2021-09-09 13:59:56 +00:00
2022-11-29 15:51:14 +00:00
2021-08-29 01:33:58 +00:00
2022-05-20 17:38:14 +00:00
2020-11-09 10:53:10 +00:00
2022-05-20 17:38:14 +00:00
2022-05-20 17:38:14 +00:00
2020-11-09 10:53:10 +00:00
2022-05-20 17:38:14 +00:00
2021-09-09 13:03:55 +00:00
2021-09-09 12:39:59 +00:00
2022-07-05 08:06:17 +00:00
2022-08-29 12:46:10 +00:00
2022-10-04 03:47:15 +00:00
2022-11-29 15:51:14 +00:00
2022-10-04 03:47:15 +00:00
2022-09-27 18:57:13 +00:00
2022-09-20 02:24:12 +00:00
2022-09-12 15:47:14 +00:00
2022-08-09 11:33:10 +00:00
2022-11-11 15:55:13 +00:00
2022-11-11 15:55:13 +00:00
2022-08-09 11:33:10 +00:00
2022-09-12 15:47:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-04 03:47:15 +00:00
2020-11-14 16:54:08 +00:00
2022-10-04 03:47:15 +00:00
2022-12-06 19:24:19 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-11-29 23:46:11 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-03-10 19:22:01 +00:00
2020-10-20 21:20:07 +00:00
2022-09-12 15:47:14 +00:00
2022-09-19 21:08:10 +00:00
2022-10-22 07:05:16 +00:00
2022-11-29 15:51:14 +00:00
2022-11-24 22:11:14 +00:00
2022-09-12 15:47:14 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-10-04 03:47:15 +00:00
2022-09-12 15:47:14 +00:00
2019-10-08 17:19:04 +00:00
2022-11-23 21:30:13 +00:00
2022-10-04 03:47:15 +00:00
2022-07-20 22:15:10 +00:00
2022-09-19 23:24:11 +00:00
2021-10-19 23:09:00 +00:00
2022-11-01 11:05:16 +00:00
2022-04-20 08:13:10 +00:00
2021-12-07 12:20:02 +00:00
2022-11-26 21:01:17 +00:00
2022-11-26 21:01:17 +00:00
2022-11-29 15:51:14 +00:00
2022-09-19 22:53:10 +00:00
2022-07-29 09:22:10 +00:00
2022-10-04 03:47:15 +00:00
2022-09-20 04:02:10 +00:00
2022-04-17 14:44:07 +00:00
2022-08-05 13:39:11 +00:00
2022-09-14 22:19:14 +00:00
2022-09-20 02:51:09 +00:00
2022-09-20 02:51:09 +00:00
2022-11-13 23:19:12 +00:00
2022-11-29 15:51:14 +00:00
2022-07-21 09:04:14 +00:00
2022-11-26 09:12:17 +00:00
2021-11-30 17:18:01 +00:00
2022-08-05 06:12:10 +00:00
2022-08-11 13:55:08 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2022-12-06 13:42:13 +00:00
2022-11-29 15:51:14 +00:00
2021-05-09 20:27:02 +00:00
2022-06-16 23:39:08 +00:00
2022-11-29 21:13:16 +00:00
2022-08-05 06:00:09 +00:00
2022-11-10 12:10:11 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2022-11-29 15:51:14 +00:00
2021-12-13 10:21:07 +00:00