Changeset 58947
- Timestamp:
- 08/28/2024 04:59:07 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r58927 r58947 606 606 <# if ( data.image && data.image.src && data.image.src !== data.icon ) { #> 607 607 <img src="{{ data.image.src }}" class="thumbnail" draggable="false" alt="" /> 608 <# } else if ( data.sizes && data.sizes.medium ) { #> 609 <img src="{{ data.sizes.medium.url }}" class="thumbnail" draggable="false" alt="" /> 608 <# } else if ( data.sizes ) { 609 if ( data.sizes.medium ) { #> 610 <img src="{{ data.sizes.medium.url }}" class="thumbnail" draggable="false" alt="" /> 611 <# } else { #> 612 <img src="{{ data.sizes.full.url }}" class="thumbnail" draggable="false" alt="" /> 613 <# } #> 610 614 <# } else { #> 611 615 <img src="{{ data.icon }}" class="icon" draggable="false" alt="" />
Note: See TracChangeset
for help on using the changeset viewer.