Make WordPress Core

Changeset 38597


Ignore:
Timestamp:
09/13/2016 01:44:33 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Media: Remove an extra space in style attribute in wp_video_shortcode() after [30082].

Props danielpietrasik.
Fixes #38040.

File:
1 edited

Legend:

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

    r38470 r38597  
    26042604    $width_rule = '';
    26052605    if ( ! empty( $atts['width'] ) ) {
    2606         $width_rule = sprintf( 'width: %dpx; ', $atts['width'] );
     2606        $width_rule = sprintf( 'width: %dpx;', $atts['width'] );
    26072607    }
    26082608    $output = sprintf( '<div style="%s" class="wp-video">%s</div>', $width_rule, $html );
Note: See TracChangeset for help on using the changeset viewer.