From 30f7ce96cbfdd3a7a60369837cde8a06f9bfffb9 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 13 Aug 2014 00:16:11 +0000 Subject: [PATCH] Switch the Polldaddy oEmbed endpoint to HTTPS as it now redirects there. See #28507. git-svn-id: https://develop.svn.wordpress.org/trunk@29476 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index 38e5d94c32..b6bfeb75db 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -47,8 +47,8 @@ class WP_oEmbed { '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 ), '#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?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://polldaddy.com/oembed/', true ), + '#https?://poll\.fm/.*#i' => array( 'https://polldaddy.com/oembed/', true ), '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true ), '#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),