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:
parent
8533eae95a
commit
ca8f1c024a
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user