From 78bc43e7f82e27d23836cf130f18beba526af29b Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 20 Jun 2022 21:48:15 +0000 Subject: [PATCH] Embeds: Remove Meetup as an oEmbed source since the related endpoint has been deprecated. This changeset removes Meetup as an oEmbed source, since Meetup.com have deprecated their oEmbed endpoint. The block has already been removed from the editor, see GB#35085. Props peterwilsoncc, audrasjb, swissspidy. Fixes #55997. Built from https://develop.svn.wordpress.org/trunk@53540 git-svn-id: http://core.svn.wordpress.org/trunk@53129 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-oembed.php | 5 ++--- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php index ca54dfa838..321f25c40f 100644 --- a/wp-includes/class-wp-oembed.php +++ b/wp-includes/class-wp-oembed.php @@ -75,7 +75,6 @@ class WP_oEmbed { '#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ), '#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ), '#https?://(.+\.)?imgur\.com/.*#i' => array( 'https://api.imgur.com/oembed', true ), - '#https?://(www\.)?meetu(\.ps|p\.com)/.*#i' => array( 'https://api.meetup.com/oembed', true ), '#https?://(www\.)?issuu\.com/.+/docs/.+#i' => array( 'https://issuu.com/oembed_wp', true ), '#https?://(www\.)?mixcloud\.com/.*#i' => array( 'https://www.mixcloud.com/oembed', true ), '#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'https://www.ted.com/services/v1/oembed.{format}', true ), @@ -148,8 +147,6 @@ class WP_oEmbed { * | Flickr | flic.kr | 3.6.0 | * | Spotify | spotify.com | 3.6.0 | * | Imgur | imgur.com | 3.9.0 | - * | Meetup.com | meetup.com | 3.9.0 | - * | Meetup.com | meetu.ps | 3.9.0 | * | Animoto | animoto.com | 4.0.0 | * | Animoto | video214.com | 4.0.0 | * | Issuu | issuu.com | 4.0.0 | @@ -205,6 +202,8 @@ class WP_oEmbed { * | Instagram TV | instagram.com | 5.1.0 | 5.5.2 | * | Instagram TV | instagr.am | 5.1.0 | 5.5.2 | * | Facebook | facebook.com | 4.7.0 | 5.5.2 | + * | Meetup.com | meetup.com | 3.9.0 | 6.1.0 | + * | Meetup.com | meetu.ps | 3.9.0 | 6.1.0 | * * @see wp_oembed_add_provider() * diff --git a/wp-includes/version.php b/wp-includes/version.php index 01fb870e89..6cd0f50e75 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53539'; +$wp_version = '6.1-alpha-53540'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.