Add support for oEmbeds from Speaker Deck.
Fixes #28597 Built from https://develop.svn.wordpress.org/trunk@35693 git-svn-id: http://core.svn.wordpress.org/trunk@35657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f7b29ecd1b
commit
1368f7d489
|
@ -77,6 +77,7 @@ class WP_oEmbed {
|
||||||
'#https?://(www\.)?reverbnation\.com/.*#i' => array( 'https://www.reverbnation.com/oembed', true ),
|
'#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?://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\.)?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'] ) ) {
|
if ( ! empty( self::$early_providers['add'] ) ) {
|
||||||
|
@ -145,6 +146,7 @@ class WP_oEmbed {
|
||||||
* | ReverbNation | reverbnation.com | Yes | 4.4.0 |
|
* | ReverbNation | reverbnation.com | Yes | 4.4.0 |
|
||||||
* | VideoPress | videopress.com | Yes | 4.4.0 |
|
* | VideoPress | videopress.com | Yes | 4.4.0 |
|
||||||
* | Reddit | reddit.com | Yes | 4.4.0 |
|
* | Reddit | reddit.com | Yes | 4.4.0 |
|
||||||
|
* | Speaker Deck | speakerdeck.com | Yes | 4.4.0 |
|
||||||
*
|
*
|
||||||
* No longer supported providers:
|
* No longer supported providers:
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-beta4-35692';
|
$wp_version = '4.4-beta4-35693';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue