From 485a12c2fe977298c7f89e88c23318685eea56e3 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 26 Sep 2015 11:51:24 +0000 Subject: [PATCH] Switch to the `https` oEmbed endpoint for Dailymotion so secure embeds are supported. See #28507 Built from https://develop.svn.wordpress.org/trunk@34587 git-svn-id: http://core.svn.wordpress.org/trunk@34551 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 0d6d25de84..c38f890a62 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -41,8 +41,8 @@ class WP_oEmbed { '#http://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed', true ), '#https://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), '#https?://(.+\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), - '#https?://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/services/oembed', true ), - 'http://dai.ly/*' => array( 'http://www.dailymotion.com/services/oembed', false ), + '#https?://(www\.)?dailymotion\.com/.*#i' => array( 'https://www.dailymotion.com/services/oembed', true ), + 'http://dai.ly/*' => array( 'https://www.dailymotion.com/services/oembed', false ), '#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( 'http://api.smugmug.com/services/oembed/', true ), diff --git a/wp-includes/version.php b/wp-includes/version.php index f22519ff38..4a7dd80f6d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34586'; +$wp_version = '4.4-alpha-34587'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.