Make WordPress Core

Changeset 59598


Ignore:
Timestamp:
01/11/2025 01:42:46 PM (2 months ago)
Author:
swissspidy
Message:

Embeds: Add Canva to oEmbed provider allowlist.

Props swissspidy.
Fixes #58840.

File:
1 edited

Legend:

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

    r58362 r59598  
    111111            '#https?://((play|www)\.)?anghami\.com/.*#i'   => array( 'https://api.anghami.com/rest/v1/oembed.view', true ),
    112112            '#https?://bsky.app/profile/.*/post/.*#i'      => array( 'https://embed.bsky.app/oembed', true ),
     113            '#https?://(www\.)?canva\.com/design/.*/view.*#i' => array( 'https://canva.com/_oembed', true ),
    113114        );
    114115
     
    191192         * | Anghami      | anghami.com                               | 6.3.0   |
    192193         * | Bluesky      | bsky.app                                  | 6.6.0   |
     194         * | Canva        | canva.com                                 | 6.8.0   |
    193195         *
    194196         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.