Embeds: Add Anghami as a trusted oEmbed provider.

Props swissspidy, Boniu91, tb1909, monzuralam, azizantoun, audrasjb.
Fixes #49850
Built from https://develop.svn.wordpress.org/trunk@55961


git-svn-id: http://core.svn.wordpress.org/trunk@55473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2023-06-21 08:14:20 +00:00
parent da06fffdf9
commit 5433b41a88
2 changed files with 3 additions and 1 deletions

View File

@ -109,6 +109,7 @@ class WP_oEmbed {
'#https?://([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?/.*#i' => array( 'https://www.pinterest.com/oembed.json', true ),
'#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 ),
);
if ( ! empty( self::$early_providers['add'] ) ) {
@ -188,6 +189,7 @@ class WP_oEmbed {
* | WolframCloud | wolframcloud.com | 5.9.0 |
* | Pocket Casts | pocketcasts.com | 6.1.0 |
* | Crowdsignal | crowdsignal.net | 6.2.0 |
* | Anghami | anghami.com | 6.3.0 |
*
* No longer supported providers:
*

View File

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