Skip to content

Commit e67238f

Browse files
committed
Embeds: Update oEmbed endpoint URL for VideoPress.
Props NomNom99. Fixes #41019. git-svn-id: https://develop.svn.wordpress.org/trunk@40901 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7ecfb17 commit e67238f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-oembed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function __construct() {
9595
'#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ),
9696
'#https?://cloudup\.com/.*#i' => array( 'https://cloudup.com/oembed', true ),
9797
'#https?://(www\.)?reverbnation\.com/.*#i' => array( 'https://www.reverbnation.com/oembed', true ),
98-
'#https?://videopress\.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true ),
98+
'#https?://videopress\.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/?for=' . $host, true ),
9999
'#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ),
100100
'#https?://(www\.)?speakerdeck\.com/.*#i' => array( 'https://speakerdeck.com/oembed.{format}', true ),
101101
'#https?://www\.facebook\.com/.*/posts/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),

0 commit comments

Comments
 (0)