mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 04:33:18 +02:00
Embeds: Add Wolfram Notebook as a trusted oEmbed provider.
Fixes #53326. git-svn-id: https://develop.svn.wordpress.org/trunk@51909 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
66ed91d214
commit
0800c31518
@ -103,6 +103,7 @@ class WP_oEmbed {
|
||||
'#https?://some\.ly\/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
|
||||
'#https?://(www\.)?tiktok\.com/.*/video/.*#i' => array( 'https://www.tiktok.com/oembed', true ),
|
||||
'#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 ),
|
||||
);
|
||||
|
||||
if ( ! empty( self::$early_providers['add'] ) ) {
|
||||
@ -181,6 +182,7 @@ class WP_oEmbed {
|
||||
* | Crowdsignal | survey.fm | 5.1.0 |
|
||||
* | TikTok | tiktok.com | 5.4.0 |
|
||||
* | Pinterest | pinterest.com | 5.9.0 |
|
||||
* | WolframCloud | wolframcloud.com | 5.9.0 |
|
||||
*
|
||||
* No longer supported providers:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user