diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index c6691a5858..87a23c83a0 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -53,7 +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 ), + '#https?://(open|play).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().