From f4dc74745cdb0dd78d62179d34afb7e6b2b1bd98 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 7 Mar 2015 22:10:42 +0000 Subject: [PATCH] Add oEmbed support for Kickstarter. See #29126. git-svn-id: https://develop.svn.wordpress.org/trunk@31671 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index 6276e2386e..68a02fb759 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -68,6 +68,8 @@ class WP_oEmbed { '#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'http://www.ted.com/talks/oembed.{format}', true ), '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'http://animoto.com/oembeds/create', true ), '#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 ), ); if ( ! empty( self::$early_providers['add'] ) ) { @@ -140,6 +142,8 @@ class WP_oEmbed { * | Vine | vine.co | Yes | 4.1.0 | * | ------------ | -------------------- | ----- | --------- | * | Tumblr | tumblr.com | Yes | 4.2.0 | + * | Kickstarter | kickstarter.com | Yes | 4.2.0 | + * | Kickstarter | kck.st | Yes | 4.2.0 | * | ------------ | -------------------- | ----- | --------- | * * No longer supported providers: