Commit 319f6226da for wordpress.org
commit 319f6226dae5b0da3e36765227bafa4429d08617
Author: jorbin <jorbin@git.wordpress.org>
Date: Tue Oct 6 14:48:42 2026 +0000
Embeds: Remove support for Imgur oEmbeds.
Props johnbillion, jeremyfelt, jorbin.
Built from https://develop.svn.wordpress.org/trunk@64128
git-svn-id: http://core.svn.wordpress.org/trunk@63284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php
index d3fc20ee86..0ede8300f5 100644
--- a/wp-includes/class-wp-oembed.php
+++ b/wp-includes/class-wp-oembed.php
@@ -79,7 +79,6 @@ class WP_oEmbed {
'#https?://(www\.)?twitter\.com/i/moments/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'https://soundcloud.com/oembed', true ),
'#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ),
- '#https?://(.+\.)?imgur\.com/.*#i' => array( 'https://api.imgur.com/oembed', true ),
'#https?://(www\.)?issuu\.com/.+/docs/.+#i' => array( 'https://issuu.com/oembed_wp', true ),
'#https?://(www\.)?mixcloud\.com/.*#i' => array( 'https://app.mixcloud.com/oembed/', true ),
'#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'https://www.ted.com/services/v1/oembed.{format}', true ),
@@ -151,7 +150,6 @@ class WP_oEmbed {
* | Dailymotion | dai.ly | 3.6.0 |
* | Flickr | flic.kr | 3.6.0 |
* | Spotify | spotify.com | 3.6.0 |
- * | Imgur | imgur.com | 3.9.0 |
* | Animoto | animoto.com | 4.0.0 |
* | Animoto | video214.com | 4.0.0 |
* | Issuu | issuu.com | 4.0.0 |
@@ -213,6 +211,7 @@ class WP_oEmbed {
* | Meetup.com | meetu.ps | 3.9.0 | 6.0.1 |
* | SlideShare | slideshare.net | 3.5.0 | 6.6.0 |
* | Screencast | screencast.com | 4.8.0 | 6.8.2 |
+ * | Imgur | imgur.com | 3.9.0 | 7.1.3 |
* | Someecards | someecards.com | 4.9.0 | 7.1.3 |
* | Someecards | some.ly | 4.9.0 | 7.1.3 |
*
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 7951070c07..dad3ea8c2c 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-64127';
+$wp_version = '7.2-alpha-64128';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.