From f1068cbe9694ee87a2fadeeea12fbfd66d3f0dc7 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 20 May 2013 12:08:07 +0000 Subject: [PATCH] Add the Daily Motion shortlink, dai.ly, to the default oembed provider list. Props georgestephanis fixes #24353 git-svn-id: https://develop.svn.wordpress.org/trunk@24302 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-oembed.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 96c7301dc8..fb225ad6ef 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -35,8 +35,9 @@ class WP_oEmbed { 'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ), '#https?://(www\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), '#https?://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/services/oembed', true ), + 'http://dai.ly/*' => array( 'http://www.dailymotion.com/services/oembed', false ), '#https?://(www\.)?flickr\.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ), - 'http://flic.kr/*' => array( 'http://www.flickr.com/services/oembed/', false ), + 'http://flic.kr/*' => array( 'http://www.flickr.com/services/oembed/', false ), '#https?://(.+\.)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ), '#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ), '#https?://(www\.)?viddler\.com/.*#i' => array( 'http://lab.viddler.com/services/oembed/', true ),