Embeds: Add Bluesky as a trusted oEmbed provider.

Props swissspidy, thelovekesh, peterwilsoncc, bnewboldbsky.
Fixes #61020.
Built from https://develop.svn.wordpress.org/trunk@58091


git-svn-id: http://core.svn.wordpress.org/trunk@57556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2024-05-03 07:58:15 +00:00
parent 1c20a0a820
commit 2f433c59f8
2 changed files with 3 additions and 1 deletions

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

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-alpha-58090';
$wp_version = '6.6-alpha-58091';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.