Add imgur to the list of oEmbed providers.
props bradparbs. fixes #21632. Built from https://develop.svn.wordpress.org/trunk@27113 git-svn-id: http://core.svn.wordpress.org/trunk@26980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
182903034b
commit
784d3071c9
|
@ -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 ),
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue