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:
parent
7bace86018
commit
7ab8ec298f
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue