From 7859e22ad55560e0effe113ecba312ea6a1b6e45 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 2 Oct 2017 19:06:46 +0000 Subject: [PATCH] Embeds: Switch the collegehumor.com oEmbed endpoint to HTTPS, as it redirects there by default now. See #28507 Built from https://develop.svn.wordpress.org/trunk@41680 git-svn-id: http://core.svn.wordpress.org/trunk@41514 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 ab6d69d083..df225c74b3 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -81,7 +81,7 @@ class WP_oEmbed { '#https?://(.+\.)?imgur\.com/.*#i' => array( 'https://api.imgur.com/oembed', true ), '#https?://(www\.)?meetu(\.ps|p\.com)/.*#i' => array( 'https://api.meetup.com/oembed', true ), '#https?://(www\.)?issuu\.com/.+/docs/.+#i' => array( 'https://issuu.com/oembed_wp', true ), - '#https?://(www\.)?collegehumor\.com/video/.*#i' => array( 'http://www.collegehumor.com/oembed.{format}', true ), + '#https?://(www\.)?collegehumor\.com/video/.*#i' => array( 'https://www.collegehumor.com/oembed.{format}', true ), '#https?://(www\.)?mixcloud\.com/.*#i' => array( 'https://www.mixcloud.com/oembed', true ), '#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'https://www.ted.com/services/v1/oembed.{format}', true ), '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'https://animoto.com/oembeds/create', true ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 6d5ff83d0e..240ed8a685 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41679'; +$wp_version = '4.9-alpha-41680'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.