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

git-svn-id: http://svn.automattic.com/wordpress/trunk@13275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-02-21 02:17:39 +00:00
parent d271b1357b
commit 47913f1e52
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().