From 5fe92586c03cd5aa161d0522b480aada76aa58c0 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 23 May 2019 21:20:52 +0000 Subject: [PATCH] Embeds: Use HTTPS for the Hulu oEmbed endpoint, as it redirects to HTTPS now. Fixes #28507 Built from https://develop.svn.wordpress.org/trunk@45385 git-svn-id: http://core.svn.wordpress.org/trunk@45196 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 1f8ad4106a..d1d29e789f 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -59,7 +59,7 @@ class WP_oEmbed { '#https?://(www\.)?flickr\.com/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ), '#https?://flic\.kr/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ), '#https?://(.+\.)?smugmug\.com/.*#i' => array( 'https://api.smugmug.com/services/oembed/', true ), - '#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ), + '#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'https://www.hulu.com/api/oembed.{format}', true ), '#https?://(www\.)?scribd\.com/(doc|document)/.*#i' => array( 'https://www.scribd.com/services/oembed', true ), '#https?://wordpress\.tv/.*#i' => array( 'https://wordpress.tv/oembed/', true ), '#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 614241d8bc..77f248d878 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45384'; +$wp_version = '5.3-alpha-45385'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.