mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Embeds: Add Google Data Studio as a trusted oEmbed provider
Props swissspidy Fixes #55771 Built from https://develop.svn.wordpress.org/trunk@54129 git-svn-id: http://core.svn.wordpress.org/trunk@53688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fbe878f68d
commit
3ca1825716
@ -105,6 +105,7 @@ class WP_oEmbed {
|
||||
'#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 ),
|
||||
'#https?://pca\.st/.+#i' => array( 'https://pca.st/oembed.json', true ),
|
||||
'#https?://datastudio\.google\.com/c/u/0/reporting/.+#i' => array( 'https://datastudio.google.com/oembed', true ),
|
||||
);
|
||||
|
||||
if ( ! empty( self::$early_providers['add'] ) ) {
|
||||
@ -183,6 +184,7 @@ class WP_oEmbed {
|
||||
* | Pinterest | pinterest.com | 5.9.0 |
|
||||
* | WolframCloud | wolframcloud.com | 5.9.0 |
|
||||
* | Pocket Casts | pocketcasts.com | 6.1.0 |
|
||||
* | Data Studio | datastudio.google.com | 6.1.0 |
|
||||
*
|
||||
* No longer supported providers:
|
||||
*
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-54128';
|
||||
$wp_version = '6.1-alpha-54129';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user