From 3f7374b8e612774193ebd418a81e447372215588 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 12 Nov 2010 11:17:35 +0000 Subject: [PATCH] Self-close embed tag for googlevideo embed handler. props pross, fixes #14230. git-svn-id: http://svn.automattic.com/wordpress/trunk@16323 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-embeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/default-embeds.php b/wp-includes/default-embeds.php index 1283c1e2e..ca599445a 100644 --- a/wp-includes/default-embeds.php +++ b/wp-includes/default-embeds.php @@ -28,7 +28,7 @@ function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) { list( $width, $height ) = wp_expand_dimensions( 425, 344, $attr['width'], $attr['height'] ); } - return apply_filters( 'embed_googlevideo', '', $matches, $attr, $url, $rawattr ); + return apply_filters( 'embed_googlevideo', '', $matches, $attr, $url, $rawattr ); } wp_embed_register_handler( 'googlevideo', '#http://video\.google\.([A-Za-z.]{2,5})/videoplay\?docid=([\d-]+)(.*?)#i', 'wp_embed_handler_googlevideo' );