Commit b57b484670 for wordpress.org
commit b57b484670a1cf06d0a97826add0dae3e3e08e5d
Author: whyisjake <whyisjake@git.wordpress.org>
Date: Wed Sep 23 23:15:51 2026 +0000
Embeds: Remove someecards.com from the oEmbed allow list.
The someecards.com oEmbed endpoint returns a `404 Not Found` response and card pages no longer expose an oEmbed discovery link, so the provider can no longer be used. This removes the `someecards.com` and `some.ly` patterns from the list of trusted providers.
Follows [60345].
Props johnbillion, suryakantupadhyay, adamsilverstein.
Fixes #66078.
Built from https://develop.svn.wordpress.org/trunk@63904
git-svn-id: http://core.svn.wordpress.org/trunk@63073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php
index 9d55a7adb1..7f6ee42220 100644
--- a/wp-includes/class-wp-oembed.php
+++ b/wp-includes/class-wp-oembed.php
@@ -102,9 +102,6 @@ class WP_oEmbed {
'#https?://(www\.)?amzn\.in/.*#i' => array( 'https://read.amazon.in/kp/api/oembed', true ),
'#https?://(www\.)?amzn\.asia/.*#i' => array( 'https://read.amazon.com.au/kp/api/oembed', true ),
'#https?://(www\.)?z\.cn/.*#i' => array( 'https://read.amazon.cn/kp/api/oembed', true ),
- '#https?://www\.someecards\.com/.+-cards/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
- '#https?://www\.someecards\.com/usercards/viewcard/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
- '#https?://some\.ly\/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
'#https?://(www\.)?tiktok\.com/.*/video/.*#i' => array( 'https://www.tiktok.com/oembed', true ),
'#https?://(www\.)?tiktok\.com/@.*#i' => array( 'https://www.tiktok.com/oembed', true ),
'#https?://([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?/.*#i' => array( 'https://www.pinterest.com/oembed.json', true ),
@@ -182,8 +179,6 @@ class WP_oEmbed {
* | Amazon | a.co | 4.9.0 |
* | Amazon | amzn.to (eu, in, asia) | 4.9.0 |
* | Amazon | z.cn | 4.9.0 |
- * | Someecards | someecards.com | 4.9.0 |
- * | Someecards | some.ly | 4.9.0 |
* | Crowdsignal | survey.fm | 5.1.0 |
* | TikTok | tiktok.com | 5.4.0 |
* | Pinterest | pinterest.com | 5.9.0 |
@@ -218,6 +213,8 @@ 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 |
+ * | Someecards | someecards.com | 4.9.0 | 7.1.3 |
+ * | Someecards | some.ly | 4.9.0 | 7.1.3 |
*
* @see wp_oembed_add_provider()
*
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 271c9c59f7..392eb5a75e 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-63903';
+$wp_version = '7.2-alpha-63904';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.