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:
Helen Hou-Sandí 2022-09-11 22:25:10 +00:00
parent fbe878f68d
commit 3ca1825716
2 changed files with 3 additions and 1 deletions

View File

@ -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?://([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?://(www\.)?wolframcloud\.com/obj/.+#i' => array( 'https://www.wolframcloud.com/oembed', true ),
'#https?://pca\.st/.+#i' => array( 'https://pca.st/oembed.json', 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'] ) ) { if ( ! empty( self::$early_providers['add'] ) ) {
@ -183,6 +184,7 @@ class WP_oEmbed {
* | Pinterest | pinterest.com | 5.9.0 | * | Pinterest | pinterest.com | 5.9.0 |
* | WolframCloud | wolframcloud.com | 5.9.0 | * | WolframCloud | wolframcloud.com | 5.9.0 |
* | Pocket Casts | pocketcasts.com | 6.1.0 | * | Pocket Casts | pocketcasts.com | 6.1.0 |
* | Data Studio | datastudio.google.com | 6.1.0 |
* *
* No longer supported providers: * No longer supported providers:
* *

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.