Make WordPress Core


Ignore:
Timestamp:
03/20/2021 06:28:32 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add a space before / character in some self-closing HTML tags.

While this has no effect on the code, it fixes a minor inconsistency with the rest of core.

Props laxman-prajapati.
Fixes #52870.

File:
1 edited

Legend:

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

    r47550 r50556  
    171171                                                <# } #>
    172172                                                <audio style="visibility: hidden" controls class="wp-audio-shortcode" width="100%" preload="none">
    173                                                         <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}"/>
     173                                                        <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}" />
    174174                                                </audio>
    175175                                        <# } else if ( 'video' === data.attachment.type ) { #>
    … …  
    177177                                                        <video controls="controls" class="wp-video-shortcode" preload="metadata"
    178178                                                                <# if ( data.attachment.image && data.attachment.image.src !== data.attachment.icon ) { #>poster="{{ data.attachment.image.src }}"<# } #>>
    179                                                                 <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}"/>
     179                                                                <source type="{{ data.attachment.mime }}" src="{{ data.attachment.url }}" />
    180180                                                        </video>
    181181                                                </div>
Note: See TracChangeset for help on using the changeset viewer.