From 99c1b7323cd4981f600e8196e66164ca1f34d79b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 6 Feb 2014 23:11:21 +0000 Subject: [PATCH] Add imgur to the list of oEmbed providers. props bradparbs. fixes #21632. git-svn-id: https://develop.svn.wordpress.org/trunk@27113 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index 15b62b5085..7ce3c5f6a6 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -55,6 +55,7 @@ class WP_oEmbed { '#https?://(www\.)?rdio\.com/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), '#https?://rd\.io/x/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), '#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ), + '#https?://(.+\.)?imgur\.com/.*#i' => array( 'http://api.imgur.com/oembed', true ), ); /**