From 1911cbabb2cd4462763262facf8ee5449479c2f0 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 3 May 2024 07:56:16 +0000 Subject: [PATCH] Embeds: Add Bluesky as a trusted oEmbed provider. Props swissspidy, thelovekesh, peterwilsoncc, bnewboldbsky. Fixes #61020. git-svn-id: https://develop.svn.wordpress.org/trunk@58091 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-oembed.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/class-wp-oembed.php b/src/wp-includes/class-wp-oembed.php index c428723537..546fa41f28 100644 --- a/src/wp-includes/class-wp-oembed.php +++ b/src/wp-includes/class-wp-oembed.php @@ -110,6 +110,7 @@ class WP_oEmbed { '#https?://(www\.)?wolframcloud\.com/obj/.+#i' => array( 'https://www.wolframcloud.com/oembed', true ), '#https?://pca\.st/.+#i' => array( 'https://pca.st/oembed.json', true ), '#https?://((play|www)\.)?anghami\.com/.*#i' => array( 'https://api.anghami.com/rest/v1/oembed.view', true ), + '#https?://bsky.app/profile/.*/post/.*#i' => array( 'https://embed.bsky.app/oembed', true ), ); if ( ! empty( self::$early_providers['add'] ) ) { @@ -190,6 +191,7 @@ class WP_oEmbed { * | Pocket Casts | pocketcasts.com | 6.1.0 | * | Crowdsignal | crowdsignal.net | 6.2.0 | * | Anghami | anghami.com | 6.3.0 | + * | Bluesky | bsky.app | 6.6.0 | * * No longer supported providers: *