Make WordPress Core

Changeset 60345

Timestamp:
06/24/2025 11:38:35 PM (4 months ago)
Author:
peterwilsoncc
Message:

Embeds: Remove screencast.com from oEmbed allow list.

Screencast have updated their URL structure to use a sub-domain and the prior oEmbed endpoint in the allow list now returns a 410 Gone response.

For discussion regarding the legacy endpoint refer to #61941, comment #35 onwards.

See #61941.
Props audrasjb, brhodes, dustintechsmith, joedolson, johnbillion, nikunj8866, paulstanos, peterwilsoncc, sandeepdahiya, sergeybiryukov, sirlouen, swissspidy.

File:
1 edited

Legend:

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

    r60307 r60345  
    9090            '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ),
    9191            '#https?://(www\.)?speakerdeck\.com/.*#i'      => array( 'https://speakerdeck.com/oembed.{format}', true ),
    92             '#https?://(www\.)?screencast\.com/.*#i'       => array( 'https://api.screencast.com/external/oembed', true ),
    9392            '#https?://([a-z0-9-]+\.)?amazon\.(com|com\.mx|com\.br|ca)/.*#i' => array( 'https://read.amazon.com/kp/api/oembed', true ),
    9493            '#https?://([a-z0-9-]+\.)?amazon\.(co\.uk|de|fr|it|es|in|nl|ru)/.*#i' => array( 'https://read.amazon.co.uk/kp/api/oembed', true ),
     
    217216         * | Meetup.com   | meetu.ps             | 3.9.0     | 6.0.1     |
    218217         * | SlideShare   | slideshare.net       | 3.5.0     | 6.6.0     |
     218         * | Screencast   | screencast.com       | 4.8.0     | 6.8.2     |
    219219         *
    220220         * @see wp_oembed_add_provider()
Note: See TracChangeset for help on using the changeset viewer.