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:
parent
e65c4190f1
commit
93b0b5c32c
|
@ -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