Make WordPress Core

Ticket #37466: 37466.diff

File 37466.diff, 833 bytes (added by GunGeekATX, 8 years ago)
  • wp-includes/class-oembed.php

     
    9898                        '#https?://videopress.com/v/.*#'                      => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true  ),
    9999                        '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed',                             true  ),
    100100                        '#https?://(www\.)?speakerdeck\.com/.*#i'             => array( 'https://speakerdeck.com/oembed.{format}',                   true  ),
     101                        '#https?://mix.office.com/watch/.*#i'                 => array( 'https://mix.office.com/oembed',                             true  ),
    101102                );
    102103
    103104                if ( ! empty( self::$early_providers['add'] ) ) {