mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Add Spotify to the default oEmbed providers list. fixes #24242.
git-svn-id: http://core.svn.wordpress.org/trunk@24164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e2100436b4
commit
c194462933
@ -53,6 +53,7 @@ class WP_oEmbed {
|
||||
'#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 ),
|
||||
'#https?://open.spotify.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ),
|
||||
) );
|
||||
|
||||
// Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().
|
||||
|
Loading…
x
Reference in New Issue
Block a user