Make WordPress Core

Changeset 58362


Ignore:
Timestamp:
06/07/2024 11:13:52 PM (2 years ago)
Author:
peterwilsoncc
Message:

Embeds: Remove SlideShare embed block variation.

The oEmbed endpoint for SlideShare is effectively deprecated and throws an error for the majority of slide-decks using the service.

Capitalize the name of the service in the deprecation notice in accordance with the wordmark.

Props peterwilsoncc, mukesh27, swissspidy, talldanwp, dd32.
Fixes #61349.

File:
1 edited

Legend:

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

    r58091 r58362  
    7676                        '#https?://(www\.)?twitter\.com/i/moments/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
    7777                        '#https?://(www\.)?soundcloud\.com/.*#i'       => array( 'https://soundcloud.com/oembed', true ),
    78                         '#https?://(.+?\.)?slideshare\.net/.*#i'       => array( 'https://www.slideshare.net/api/oembed/2', true ),
    7978                        '#https?://(open|play)\.spotify\.com/.*#i'     => array( 'https://embed.spotify.com/oembed/', true ),
    8079                        '#https?://(.+\.)?imgur\.com/.*#i'             => array( 'https://api.imgur.com/oembed', true ),
     
    149148                 * | YouTube      | youtu.be                                  | 3.0.0   |
    150149                 * | Twitter      | twitter.com                               | 3.4.0   |
    151                  * | Slideshare   | slideshare.net                            | 3.5.0   |
    152150                 * | SoundCloud   | soundcloud.com                            | 3.5.0   |
    153151                 * | Dailymotion  | dai.ly                                    | 3.6.0   |
     
    216214                 * | Meetup.com   | meetup.com           | 3.9.0     | 6.0.1     |
    217215                 * | Meetup.com   | meetu.ps             | 3.9.0     | 6.0.1     |
     216                 * | SlideShare   | slideshare.net       | 3.5.0     | 6.6.0     |
    218217                 *
    219218                 * @see wp_oembed_add_provider()
Note: See TracChangeset for help on using the changeset viewer.