Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899.

git-svn-id: https://develop.svn.wordpress.org/trunk@13275 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2010-02-21 02:17:39 +00:00
parent 03f690c3ff
commit f68b5c6093
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class WP_oEmbed {
'#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://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
) );
// Fix Scribd embeds. They contain new lines in the middle of the HTML which breaks wpautop().