Make WordPress Core

Ticket #28597: 28597-1.diff

File 28597-1.diff, 1.1 KB (added by hlashbrooke, 10 years ago)

Updating patch to include Speaker Deck in commented list of available oEmbed providers

  • class-oembed.php

     
    7777                        '#https?://(www\.)?reverbnation\.com/.*#i'            => array( 'https://www.reverbnation.com/oembed',                       true  ),
    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/.*#i'            => array( 'https://speakerdeck.com/oembed.json',                       true  ),
    8081                );
    8182
    8283                if ( ! empty( self::$early_providers['add'] ) ) {
     
    145146                 * | ReverbNation | reverbnation.com     |  Yes  | 4.4.0     |
    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:
    150152                 *