WordPress.org

Make WordPress Core

Changeset 33090


Ignore:
Timestamp:
07/06/2015 02:18:03 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Merge two class attributes in WP_Customize_Media_Control::content_template() and wp_print_media_templates().

props nicholas_io.
fixes #32896.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r33074 r33090  
    815815                                </div>
    816816                            <# } else { #>
    817                                 <img class="attachment-thumb type-icon" src="{{ data.attachment.icon }}" class="icon" draggable="false" />
     817                                <img class="attachment-thumb type-icon icon" src="{{ data.attachment.icon }}" draggable="false" />
    818818                                <p class="attachment-title">{{ data.attachment.title }}</p>
    819819                            <# } #>
  • trunk/src/wp-includes/media-template.php

    r32972 r33090  
    299299                    <img class="details-image" src="{{ data.sizes.full.url }}" draggable="false" />
    300300                <# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #>
    301                     <img class="details-image" src="{{ data.icon }}" class="icon" draggable="false" />
     301                    <img class="details-image icon" src="{{ data.icon }}" draggable="false" />
    302302                <# } #>
    303303
Note: See TracChangeset for help on using the changeset viewer.