Make WordPress Core

Changeset 63904


Ignore:
Timestamp:
09/23/2026 11:14:12 PM (6 weeks ago)
Author:
whyisjake
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-oembed.php

    r63605 r63904  
    103103                        '#https?://(www\.)?amzn\.asia/.*#i'            => array( 'https://read.amazon.com.au/kp/api/oembed', true ),
    104104                        '#https?://(www\.)?z\.cn/.*#i'                 => array( 'https://read.amazon.cn/kp/api/oembed', true ),
    105                         '#https?://www\.someecards\.com/.+-cards/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
    106                         '#https?://www\.someecards\.com/usercards/viewcard/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
    107                         '#https?://some\.ly\/.+#i'                     => array( 'https://www.someecards.com/v2/oembed/', true ),
    108105                        '#https?://(www\.)?tiktok\.com/.*/video/.*#i'  => array( 'https://www.tiktok.com/oembed', true ),
    109106                        '#https?://(www\.)?tiktok\.com/@.*#i'          => array( 'https://www.tiktok.com/oembed', true ),
    … …  
    183180                 * | Amazon       | amzn.to (eu, in, asia)                    | 4.9.0   |
    184181                 * | Amazon       | z.cn                                      | 4.9.0   |
    185                  * | Someecards   | someecards.com                            | 4.9.0   |
    186                  * | Someecards   | some.ly                                   | 4.9.0   |
    187182                 * | Crowdsignal  | survey.fm                                 | 5.1.0   |
    188183                 * | TikTok       | tiktok.com                                | 5.4.0   |
    … …  
    219214                 * | SlideShare   | slideshare.net       | 3.5.0     | 6.6.0     |
    220215                 * | Screencast   | screencast.com       | 4.8.0     | 6.8.2     |
     216                 * | Someecards   | someecards.com       | 4.9.0     | 7.1.3     |
     217                 * | Someecards   | some.ly              | 4.9.0     | 7.1.3     |
    221218                 *
    222219                 * @see wp_oembed_add_provider()
Note: See TracChangeset for help on using the changeset viewer.