Make WordPress Core

Changeset 51909


Ignore:
Timestamp:
10/15/2021 05:03:17 AM (3 years ago)
Author:
pento
Message:

Embeds: Add Wolfram Notebook as a trusted oEmbed provider.

Fixes #53326.

File:
1 edited

Legend:

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

    r51821 r51909  
    104104            '#https?://(www\.)?tiktok\.com/.*/video/.*#i'  => array( 'https://www.tiktok.com/oembed', true ),
    105105            '#https?://([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?/.*#i' => array( 'https://www.pinterest.com/oembed.json', true ),
     106            '#https?://(www\.)?wolframcloud\.com/obj/.+#i' => array( 'https://www.wolframcloud.com/oembed', true ),
    106107        );
    107108
     
    182183         * | TikTok       | tiktok.com                                | 5.4.0   |
    183184         * | Pinterest    | pinterest.com                             | 5.9.0   |
     185         * | WolframCloud | wolframcloud.com                          | 5.9.0   |
    184186         *
    185187         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.