From 08f7b699f532198675653847d6ae5558b672c7d0 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 11 Jul 2014 23:00:36 +0000 Subject: [PATCH] Add support for secure wordpress.tv embeds (thanks stephdau). See #28507. git-svn-id: https://develop.svn.wordpress.org/trunk@29110 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index d8b18a500a..5dadd4abbe 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/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 ),