Make WordPress Core


Ignore:
Timestamp:
11/18/2015 10:04:59 PM (9 years ago)
Author:
johnbillion
Message:

Add support for oEmbeds from Speaker Deck.

Fixes #28597

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r35634 r35693  
    7878            '#https?://videopress.com/v/.*#'                      => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true  ),
    7979            '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed',                             true  ),
     80            '#https?://(www\.)?speakerdeck\.com/.*#i'             => array( 'https://speakerdeck.com/oembed.{format}',                   true  ),
    8081        );
    8182
     
    146147         * | VideoPress   | videopress.com       |  Yes  | 4.4.0     |
    147148         * | Reddit       | reddit.com           |  Yes  | 4.4.0     |
     149         * | Speaker Deck | speakerdeck.com      |  Yes  | 4.4.0     |
    148150         *
    149151         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.