mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:21:57 +01:00
Embeds: Add Canva to oEmbed provider allowlist.
Props swissspidy. Fixes #58840. Built from https://develop.svn.wordpress.org/trunk@59598 git-svn-id: http://core.svn.wordpress.org/trunk@58984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c38d71bcc0
commit
b9a1723711
@ -110,6 +110,7 @@ class WP_oEmbed {
|
||||
'#https?://pca\.st/.+#i' => array( 'https://pca.st/oembed.json', true ),
|
||||
'#https?://((play|www)\.)?anghami\.com/.*#i' => array( 'https://api.anghami.com/rest/v1/oembed.view', true ),
|
||||
'#https?://bsky.app/profile/.*/post/.*#i' => array( 'https://embed.bsky.app/oembed', true ),
|
||||
'#https?://(www\.)?canva\.com/design/.*/view.*#i' => array( 'https://canva.com/_oembed', true ),
|
||||
);
|
||||
|
||||
if ( ! empty( self::$early_providers['add'] ) ) {
|
||||
@ -190,6 +191,7 @@ class WP_oEmbed {
|
||||
* | Crowdsignal | crowdsignal.net | 6.2.0 |
|
||||
* | Anghami | anghami.com | 6.3.0 |
|
||||
* | Bluesky | bsky.app | 6.6.0 |
|
||||
* | Canva | canva.com | 6.8.0 |
|
||||
*
|
||||
* No longer supported providers:
|
||||
*
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59597';
|
||||
$wp_version = '6.8-alpha-59598';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user