From b0fed2af6383759a08929c472ac3a00ef6f05f0f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 15 Jun 2017 05:38:45 +0000 Subject: [PATCH] Embeds: Update oEmbed endpoint URL for VideoPress. Props NomNom99. Fixes #41019. Built from https://develop.svn.wordpress.org/trunk@40901 git-svn-id: http://core.svn.wordpress.org/trunk@40751 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 24ee215653..5462bec63a 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -95,7 +95,7 @@ class WP_oEmbed { '#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), '#https?://cloudup\.com/.*#i' => array( 'https://cloudup.com/oembed', true ), '#https?://(www\.)?reverbnation\.com/.*#i' => array( 'https://www.reverbnation.com/oembed', true ), - '#https?://videopress\.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true ), + '#https?://videopress\.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/?for=' . $host, true ), '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ), '#https?://(www\.)?speakerdeck\.com/.*#i' => array( 'https://speakerdeck.com/oembed.{format}', true ), '#https?://www\.facebook\.com/.*/posts/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ), diff --git a/wp-includes/version.php b/wp-includes/version.php index fc9e0df476..4918aeffde 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40900'; +$wp_version = '4.9-alpha-40901'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.