Make WordPress Core


Ignore:
Timestamp:
05/22/2014 11:12:05 PM (11 years ago)
Author:
wonderboymusic
Message:

Support Polldaddy's short URL format as a whitelisted oEmbed provider.

Props donncha.
Fixes #28283.

File:
1 edited

Legend:

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

    r28554 r28555  
    4747            'http://wordpress.tv/*'                               => array( 'http://wordpress.tv/oembed/',                        false ),
    4848            '#https?://(.+\.)?polldaddy\.com/.*#i'                => array( 'http://polldaddy.com/oembed/',                       true  ),
     49            '#https?://poll\.fm/.*#i'                             => array( 'http://polldaddy.com/oembed/',                       true  ),
    4950            '#https?://(www\.)?funnyordie\.com/videos/.*#i'       => array( 'http://www.funnyordie.com/oembed',                   true  ),
    5051            '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true  ),
Note: See TracChangeset for help on using the changeset viewer.