From 3636f0dc1ad6a4dbeb708ce3510e493712feafc8 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 18 Nov 2015 22:04:59 +0000 Subject: [PATCH] Add support for oEmbeds from Speaker Deck. Fixes #28597 git-svn-id: https://develop.svn.wordpress.org/trunk@35693 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index 14b348261d..e7f72c91e9 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -77,6 +77,7 @@ class WP_oEmbed { '#https?://(www\.)?reverbnation\.com/.*#i' => array( 'https://www.reverbnation.com/oembed', true ), '#https?://videopress.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true ), '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ), + '#https?://(www\.)?speakerdeck\.com/.*#i' => array( 'https://speakerdeck.com/oembed.{format}', true ), ); if ( ! empty( self::$early_providers['add'] ) ) { @@ -145,6 +146,7 @@ class WP_oEmbed { * | ReverbNation | reverbnation.com | Yes | 4.4.0 | * | VideoPress | videopress.com | Yes | 4.4.0 | * | Reddit | reddit.com | Yes | 4.4.0 | + * | Speaker Deck | speakerdeck.com | Yes | 4.4.0 | * * No longer supported providers: *