Remove extraneous function parameters in wp_video_shortcode(). props rlerdorf. see #24210.

git-svn-id: http://core.svn.wordpress.org/trunk@24122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-04-29 00:56:27 +00:00
parent e65c4190f1
commit 93b0b5c32c
1 changed files with 1 additions and 1 deletions

View File

@ -1037,7 +1037,7 @@ function wp_video_shortcode( $attr ) {
} }
} }
if ( 'mediaelement' === $library ) if ( 'mediaelement' === $library )
$html .= wp_mediaelement_fallback( $fileurl, $width, $height ); $html .= wp_mediaelement_fallback( $fileurl );
$html .= '</video>'; $html .= '</video>';
return apply_filters( 'wp_video_shortcode', $html, $atts, $video, $post_id ); return apply_filters( 'wp_video_shortcode', $html, $atts, $video, $post_id );