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
This commit is contained in:
Pascal Birchler 2024-05-03 07:56:16 +00:00
parent 5207502ecf
commit 1911cbabb2

View File

@ -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:
*