From 0303ea0272dabc735b44eff3f572eee0ee79f997 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 11 Jul 2014 23:01:15 +0000 Subject: [PATCH] Add support for secure wordpress.tv embeds (thanks stephdau). See #28507. Built from https://develop.svn.wordpress.org/trunk@29110 git-svn-id: http://core.svn.wordpress.org/trunk@28896 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index d8b18a500a..5dadd4abbe 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -46,7 +46,7 @@ class WP_oEmbed { 'http://i*.photobucket.com/albums/*' => array( 'http://photobucket.com/oembed', false ), 'http://gi*.photobucket.com/groups/*' => array( 'http://photobucket.com/oembed', false ), '#https?://(www\.)?scribd\.com/doc/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), - 'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ), + '#https?://wordpress.tv/.*#i' => array( 'http://wordpress.tv/oembed/', true ), '#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ), '#https?://poll\.fm/.*#i' => array( 'http://polldaddy.com/oembed/', true ), '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),