Make WordPress Core


Ignore:
Timestamp:
06/21/2023 08:12:22 AM (18 months ago)
Author:
swissspidy
Message:

Embeds: Add Anghami as a trusted oEmbed provider.

Props swissspidy, Boniu91, tb1909, monzuralam, azizantoun, audrasjb.
Fixes #49850

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-oembed.php

    r55914 r55961  
    110110            '#https?://(www\.)?wolframcloud\.com/obj/.+#i' => array( 'https://www.wolframcloud.com/oembed', true ),
    111111            '#https?://pca\.st/.+#i'                       => array( 'https://pca.st/oembed.json', true ),
     112            '#https?://((play|www)\.)?anghami\.com/.*#i'   => array( 'https://api.anghami.com/rest/v1/oembed.view', true ),
    112113        );
    113114
     
    189190         * | Pocket Casts | pocketcasts.com                           | 6.1.0   |
    190191         * | Crowdsignal  | crowdsignal.net                           | 6.2.0   |
     192         * | Anghami      | anghami.com                               | 6.3.0   |
    191193         *
    192194         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.