- Timestamp:
- 11/07/2015 04:11:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-media-control.php
r35389 r35567 158 158 <div class="thumbnail thumbnail-{{ data.attachment.type }}"> 159 159 <# if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.medium ) { #> 160 <img class="attachment-thumb" src="{{ data.attachment.sizes.medium.url }}" draggable="false" />160 <img class="attachment-thumb" src="{{ data.attachment.sizes.medium.url }}" draggable="false" alt="" /> 161 161 <# } else if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.full ) { #> 162 <img class="attachment-thumb" src="{{ data.attachment.sizes.full.url }}" draggable="false" />162 <img class="attachment-thumb" src="{{ data.attachment.sizes.full.url }}" draggable="false" alt="" /> 163 163 <# } else if ( 'audio' === data.attachment.type ) { #> 164 164 <# if ( data.attachment.image && data.attachment.image.src && data.attachment.image.src !== data.attachment.icon ) { #> 165 <img src="{{ data.attachment.image.src }}" class="thumbnail" draggable="false" />165 <img src="{{ data.attachment.image.src }}" class="thumbnail" draggable="false" alt="" /> 166 166 <# } else { #> 167 <img src="{{ data.attachment.icon }}" class="attachment-thumb type-icon" draggable="false" />167 <img src="{{ data.attachment.icon }}" class="attachment-thumb type-icon" draggable="false" alt="" /> 168 168 <# } #> 169 169 <p class="attachment-meta attachment-meta-title">“{{ data.attachment.title }}”</p> … … 185 185 </div> 186 186 <# } else { #> 187 <img class="attachment-thumb type-icon icon" src="{{ data.attachment.icon }}" draggable="false" />187 <img class="attachment-thumb type-icon icon" src="{{ data.attachment.icon }}" draggable="false" alt="" /> 188 188 <p class="attachment-title">{{ data.attachment.title }}</p> 189 189 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.