From 47913f1e52a0b5d306c434f69c6f4dbe6dc70d1e Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 21 Feb 2010 02:17:39 +0000 Subject: [PATCH] Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899. git-svn-id: http://svn.automattic.com/wordpress/trunk@13275 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index b91c93caa..611724a76 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -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().