Media: Remove an extra space in `style` attribute in `wp_video_shortcode()` after [30082].
Props danielpietrasik. Fixes #38040. Built from https://develop.svn.wordpress.org/trunk@38597 git-svn-id: http://core.svn.wordpress.org/trunk@38540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b434cda3a6
commit
893f9487d4
|
@ -2603,7 +2603,7 @@ function wp_video_shortcode( $attr, $content = '' ) {
|
||||||
|
|
||||||
$width_rule = '';
|
$width_rule = '';
|
||||||
if ( ! empty( $atts['width'] ) ) {
|
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 );
|
$output = sprintf( '<div style="%s" class="wp-video">%s</div>', $width_rule, $html );
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-alpha-38596';
|
$wp_version = '4.7-alpha-38597';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue