From 7ab8ec298fa4f4b2880e78ab734c7be7a72e4223 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 29 Apr 2013 00:56:27 +0000 Subject: [PATCH] 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 --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index ae079afbb0..36736cef20 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1037,7 +1037,7 @@ function wp_video_shortcode( $attr ) { } } if ( 'mediaelement' === $library ) - $html .= wp_mediaelement_fallback( $fileurl, $width, $height ); + $html .= wp_mediaelement_fallback( $fileurl ); $html .= ''; return apply_filters( 'wp_video_shortcode', $html, $atts, $video, $post_id );