WordPress.org

Make WordPress Core

Ticket #46444: 46444.diff

File 46444.diff, 1.1 KB (added by manzoorwani.jk, 3 years ago)
  • src/wp-includes/class-oembed.php

     
    6060                        '#https?://flic\.kr/.*#i'                      => array( 'https://www.flickr.com/services/oembed/', true ),
    6161                        '#https?://(.+\.)?smugmug\.com/.*#i'           => array( 'https://api.smugmug.com/services/oembed/', true ),
    6262                        '#https?://(www\.)?hulu\.com/watch/.*#i'       => array( 'http://www.hulu.com/api/oembed.{format}', true ),
    63                         '#https?://(www\.)?scribd\.com/doc/.*#i'       => array( 'https://www.scribd.com/services/oembed', true ),
     63                        '#https?://(www\.)?scribd\.com/(doc|document)/.*#i'       => array( 'https://www.scribd.com/services/oembed', true ),
    6464                        '#https?://wordpress\.tv/.*#i'                 => array( 'https://wordpress.tv/oembed/', true ),
    6565                        '#https?://(.+\.)?polldaddy\.com/.*#i'         => array( 'https://api.crowdsignal.com/oembed', true ),
    6666                        '#https?://poll\.fm/.*#i'                      => array( 'https://api.crowdsignal.com/oembed', true ),