Skip to content

Commit

Permalink
Embeds: Add Bluesky as a trusted oEmbed provider.
Browse files Browse the repository at this point in the history
Props swissspidy, thelovekesh, peterwilsoncc, bnewboldbsky.
Fixes #61020.

git-svn-id: https://develop.svn.wordpress.org/trunk@58091 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
swissspidy authored and spacedmonkey committed May 4, 2024
1 parent 327517f commit 1fa55b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wp-includes/class-wp-oembed.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public function __construct() {
'#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'] ) ) {
Expand Down Expand Up @@ -190,6 +191,7 @@ public function __construct() {
* | 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:
*
Expand Down

0 comments on commit 1fa55b3

Please sign in to comment.