From 73fb90a842ba8e65173da9d501a3769b8be196e1 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 14 Oct 2011 17:56:48 +0000 Subject: [PATCH] Update vimeo oembed api url. Props l3rady, justindgivens. fixes #18928 git-svn-id: http://svn.automattic.com/wordpress/trunk@18973 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index c874b03bc..e38860f68 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -33,7 +33,7 @@ class WP_oEmbed { '#http://(www\.)?youtube.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), 'http://youtu.be/*' => array( 'http://www.youtube.com/oembed', false ), 'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ), - '#http://(www\.)?vimeo\.com/.*#i' => array( 'http://www.vimeo.com/api/oembed.{format}', true ), + '#http://(www\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), '#http://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/api/oembed', true ), '#http://(www\.)?flickr\.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ), '#http://(.+)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ),