Make WordPress Core

Ticket #45036: crowdsignal.diff

File crowdsignal.diff, 1.3 KB (added by donncha, 6 years ago)

Patch to change oembeds for Polldaddy.com to Crowdsignal.com

  • class-oembed.php

     
    6464                        'http://gi*.photobucket.com/groups/*'          => array( 'http://api.photobucket.com/oembed', false ),
    6565                        '#https?://(www\.)?scribd\.com/doc/.*#i'       => array( 'https://www.scribd.com/services/oembed', true ),
    6666                        '#https?://wordpress\.tv/.*#i'                 => array( 'https://wordpress.tv/oembed/', true ),
    67                         '#https?://(.+\.)?polldaddy\.com/.*#i'         => array( 'https://polldaddy.com/oembed/', true ),
    68                         '#https?://poll\.fm/.*#i'                      => array( 'https://polldaddy.com/oembed/', true ),
     67                        '#https?://(.+\.)?polldaddy\.com/.*#i'         => array( 'https://api.crowdsignal.com/oembed', true ),
     68                        '#https?://poll\.fm/.*#i'                      => array( 'https://api.crowdsignal.com/oembed', true ),
     69                        '#https?://survey\.fm/.*#i'                    => array( 'https://api.crowdsignal.com/oembed', true ),
    6970                        '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
    7071                        '#https?://(www\.)?twitter\.com/\w{1,15}/status(es)?/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
    7172                        '#https?://(www\.)?twitter\.com/\w{1,15}$#i'   => array( 'https://publish.twitter.com/oembed', true ),