From a6ea3624ef62e2974f7da97d1319857a1a5e9f33 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 26 Aug 2015 00:29:21 +0000 Subject: [PATCH] Add oEmbed support for ReverbNation. props rhubbardreverb. fixes #33207. Built from https://develop.svn.wordpress.org/trunk@33745 git-svn-id: http://core.svn.wordpress.org/trunk@33713 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 5 ++++- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 89cd7a6780..3322dd9816 100644 --- a/wp-includes/class-oembed.php +++ b/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: * diff --git a/wp-includes/version.php b/wp-includes/version.php index 2166d20a65..ef6047b3e7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33744'; +$wp_version = '4.4-alpha-33745'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.