diff --git a/wp-includes/media.php b/wp-includes/media.php index 294779bdce..d5d3d77d04 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1565,10 +1565,10 @@ function img_caption_shortcode( $attr, $content = null ) { $caption_width = apply_filters( 'img_caption_shortcode_width', $width, $atts, $content ); $style = ''; - if ( $caption_width ) + if ( $caption_width ) { $style = 'style="width: ' . (int) $caption_width . 'px" '; + } - $html = ''; if ( $html5 ) { $html = '
' . do_shortcode( $content ) . '
' . $atts['caption'] . '
'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 830e150343..30f721231a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38308'; +$wp_version = '4.7-alpha-38309'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.