From bbb7c1ca4e62146d8dd08544d3745c37c0f1030a Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Wed, 23 Dec 2015 01:52:47 +0000 Subject: [PATCH] Remove RDIO from oEmbed providers RDIO is shutting down. https://www.rdio.com/farewell/ Merges[36007] to the 4.4 branch. Props swissspidy. Fixes #35152. git-svn-id: https://develop.svn.wordpress.org/branches/4.4@36066 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index e7f72c91e9..b60a4f4794 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -60,8 +60,6 @@ class WP_oEmbed { '#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ), '#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ), '#https?://(www\.)?instagr(\.am|am\.com)/p/.*#i' => array( 'https://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|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ), '#https?://(.+\.)?imgur\.com/.*#i' => array( 'http://api.imgur.com/oembed', true ), '#https?://(www\.)?meetu(\.ps|p\.com)/.*#i' => array( 'http://api.meetup.com/oembed', true ), @@ -124,8 +122,6 @@ class WP_oEmbed { * | SoundCloud | soundcloud.com | Yes | 3.5.0 | * | Dailymotion | dai.ly | No | 3.6.0 | * | Flickr | flic.kr | Yes | 3.6.0 | - * | Rdio | rdio.com | Yes | 3.6.0 | - * | Rdio | rd.io | Yes | 3.6.0 | * | Spotify | spotify.com | Yes | 3.6.0 | * | Imgur | imgur.com | Yes | 3.9.0 | * | Meetup.com | meetup.com | Yes | 3.9.0 | @@ -156,6 +152,8 @@ class WP_oEmbed { * | Viddler | viddler.com | Yes | 2.9.0 | 4.0.0 | * | Revision3 | revision3.com | No | 2.9.0 | 4.2.0 | * | Blip | blip.tv | No | 2.9.0 | 4.4.0 | + * | Rdio | rdio.com | Yes | 3.6.0 | 4.4.1 | + * | Rdio | rd.io | Yes | 3.6.0 | 4.4.1 | * * @see wp_oembed_add_provider() *