From e25dc36c2b66915081c9f5aaad28c6086007224d Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 6 Aug 2014 19:32:51 +0000 Subject: [PATCH] Media Grid: after [28996], use the same cover size for audio/video files that images use for thumbnails. See #24716. git-svn-id: https://develop.svn.wordpress.org/trunk@29416 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index dafa2a9b7e..24493a01b1 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -423,8 +423,8 @@ function wp_print_media_templates() { <# } else { #>
- <# if ( data.thumb && data.thumb.src && data.thumb.src !== data.icon ) { #> - + <# if ( data.image && data.image.src && data.image.src !== data.icon ) { #> + <# } else { #> <# } #>