Embeds: Add Wolfram Notebook as a trusted oEmbed provider.

Fixes #53326.


Built from https://develop.svn.wordpress.org/trunk@51909


git-svn-id: http://core.svn.wordpress.org/trunk@51502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2021-10-15 05:04:56 +00:00
parent 1f261d083a
commit 44caec31bd
2 changed files with 3 additions and 1 deletions

View File

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

View File

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