From 08b4dd5be9216c69563d619d2eab66aa7dcd78c7 Mon Sep 17 00:00:00 2001 From: elphizu Date: Wed, 9 Sep 2026 19:33:30 +0530 Subject: [PATCH] Embeds: Remove someecards.com from oEmbed allow list. The oEmbed endpoint returns a 404 response, and card pages no longer advertise an oEmbed discovery link. Remove the provider patterns and mark it as no longer supported. See #66078. --- src/wp-includes/class-wp-oembed.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/class-wp-oembed.php b/src/wp-includes/class-wp-oembed.php index fa307092d409c..52685f3df2e8d 100644 --- a/src/wp-includes/class-wp-oembed.php +++ b/src/wp-includes/class-wp-oembed.php @@ -102,9 +102,6 @@ public function __construct() { '#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 ), @@ -183,8 +180,6 @@ public function __construct() { * | 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 | @@ -219,6 +214,8 @@ public function __construct() { * | 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.2 | + * | Someecards | some.ly | 4.9.0 | 7.1.2 | * * @see wp_oembed_add_provider() *