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

Props danielpietrasik.
Fixes #38040.

git-svn-id: https://develop.svn.wordpress.org/trunk@38597 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-09-13 13:44:33 +00:00
parent 8533eae95a
commit ca8f1c024a
1 changed files with 1 additions and 1 deletions

View File

@ -2603,7 +2603,7 @@ function wp_video_shortcode( $attr, $content = '' ) {
$width_rule = '';
if ( ! empty( $atts['width'] ) ) {
$width_rule = sprintf( 'width: %dpx; ', $atts['width'] );
$width_rule = sprintf( 'width: %dpx;', $atts['width'] );
}
$output = sprintf( '<div style="%s" class="wp-video">%s</div>', $width_rule, $html );