mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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
This commit is contained in:
@@ -423,8 +423,8 @@ function wp_print_media_templates() {
|
||||
</div>
|
||||
<# } else { #>
|
||||
<div class="centered">
|
||||
<# if ( data.thumb && data.thumb.src && data.thumb.src !== data.icon ) { #>
|
||||
<img src="{{ data.thumb.src }}" class="thumbnail" draggable="false" />
|
||||
<# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>
|
||||
<img src="{{ data.image.src }}" class="thumbnail" draggable="false" />
|
||||
<# } else { #>
|
||||
<img src="{{ data.icon }}" class="icon" draggable="false" />
|
||||
<# } #>
|
||||
|
||||
Reference in New Issue
Block a user