From f68b5c6093735ddbb0d84d719e5befb5491856fc Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sun, 21 Feb 2010 02:17:39 +0000 Subject: [PATCH] Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899. git-svn-id: https://develop.svn.wordpress.org/trunk@13275 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 b91c93caaa..611724a76d 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().