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

git-svn-id: https://develop.svn.wordpress.org/trunk@24122 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-04-29 00:56:27 +00:00
parent 7bace86018
commit 7ab8ec298f
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 );