Add Rdio to the default oembed providers list.
Props zekeweeks fixes #24242 git-svn-id: https://develop.svn.wordpress.org/trunk@24160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9d484d32f8
commit
e3d41d52ac
|
@ -51,6 +51,8 @@ class WP_oEmbed {
|
||||||
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),
|
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),
|
||||||
'#https?://(www\.)?slideshare.net/*#' => array( 'http://www.slideshare.net/api/oembed/2', true ),
|
'#https?://(www\.)?slideshare.net/*#' => array( 'http://www.slideshare.net/api/oembed/2', true ),
|
||||||
'#http://instagr(\.am|am\.com)/p/.*#i' => array( 'http://api.instagram.com/oembed', true ),
|
'#http://instagr(\.am|am\.com)/p/.*#i' => array( 'http://api.instagram.com/oembed', true ),
|
||||||
|
'#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 ),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
// Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().
|
// Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().
|
||||||
|
|
Loading…
Reference in New Issue