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

git-svn-id: https://develop.svn.wordpress.org/trunk@19076 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jon Cave 2011-10-28 19:42:57 +00:00
parent a3f2a7ce55
commit abada6e11d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class WP_oEmbed {
'http://gi*.photobucket.com/groups/*' => array( 'http://photobucket.com/oembed', false ),
'#http://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ),
'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ),
'#http://(answers|surveys)\.polldaddy.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ),
'#http://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ),
'#http://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
) );