Skip to content

Commit f68b5c6

Browse files
committed
Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes WordPress#11899.
git-svn-id: https://develop.svn.wordpress.org/trunk@13275 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 03f690c commit f68b5c6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wp-includes/class-oembed.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ function __construct() {
5353
'#http://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ),
5454
'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ),
5555
'#http://(answers|surveys)\.polldaddy.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ),
56+
'#http://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
5657
) );
5758

5859
// Fix Scribd embeds. They contain new lines in the middle of the HTML which breaks wpautop().

0 commit comments

Comments
 (0)