From 0654d9ed35ab953fc6700d18532a93971ca399ac Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 26 Aug 2015 00:28:11 +0000 Subject: [PATCH] Add oEmbed support for ReverbNation. props rhubbardreverb. fixes #33207. git-svn-id: https://develop.svn.wordpress.org/trunk@33745 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index 89cd7a6780..3322dd9816 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -72,7 +72,8 @@ class WP_oEmbed { '#https?://(.+)\.tumblr\.com/post/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ), '#https?://(www\.)?kickstarter\.com/projects/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), '#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), - '#https?://cloudup\.com/.*#i' => array( 'https://cloudup.com/oembed', true ), + '#https?://cloudup\.com/.*#i' => array( 'https://cloudup.com/oembed', true ), + '#https?://(www\.)?reverbnation\.com/.*#i' => array( 'https://www.reverbnation.com/oembed', true ), ); if ( ! empty( self::$early_providers['add'] ) ) { @@ -144,6 +145,8 @@ class WP_oEmbed { * | Tumblr | tumblr.com | Yes | 4.2.0 | * | Kickstarter | kickstarter.com | Yes | 4.2.0 | * | Kickstarter | kck.st | Yes | 4.2.0 | + * | ------------ | -------------------- | ----- | --------- | + * | ReverbNation | reverbnation.com | Yes | 4.4.0 | * * No longer supported providers: *