Make WordPress Core

Changeset 19076


Ignore:
Timestamp:
10/28/2011 07:42:57 PM (13 years ago)
Author:
duck_
Message:

Fix polldaddy oEmbed regular expression to work with new style URLs. Props r-a-y, azaozz. Fixes #17106.

File:
1 edited

Legend:

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

    r18973 r19076  
    4646            '#http://(www\.)?scribd\.com/.*#i'              => array( 'http://www.scribd.com/services/oembed',    true  ),
    4747            'http://wordpress.tv/*'                         => array( 'http://wordpress.tv/oembed/',              false ),
    48             '#http://(answers|surveys)\.polldaddy.com/.*#i' => array( 'http://polldaddy.com/oembed/',             true  ),
     48            '#http://(.+\.)?polldaddy\.com/.*#i'        => array( 'http://polldaddy.com/oembed/',             true  ),
    4949            '#http://(www\.)?funnyordie\.com/videos/.*#i'   => array( 'http://www.funnyordie.com/oembed',         true  ),
    5050        ) );
Note: See TracChangeset for help on using the changeset viewer.