From dcd98293d1d9eb7ddc7092dad4445c28a0515148 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 14 May 2013 13:47:37 +0000 Subject: [PATCH] Add the flickr shortlink, flic.kr, to the oEmbed default providers list. Props Ipstenu fixes #23052 git-svn-id: https://develop.svn.wordpress.org/trunk@24248 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-oembed.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index b5d7ed0b05..96c7301dc8 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -36,6 +36,7 @@ class WP_oEmbed { '#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 ), '#https?://(www\.)?flickr\.com/.*#i' => array( 'http://www.flickr.com/services/oembed/', true ), + '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 ),