Skip to content

Commit 62f25a4

Browse files
committed
Embeds: Add Google Data Studio as a trusted oEmbed provider
Props swissspidy Fixes #55771 git-svn-id: https://develop.svn.wordpress.org/trunk@54129 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1c69513 commit 62f25a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wp-includes/class-wp-oembed.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public function __construct() {
105105
'#https?://([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?/.*#i' => array( 'https://www.pinterest.com/oembed.json', true ),
106106
'#https?://(www\.)?wolframcloud\.com/obj/.+#i' => array( 'https://www.wolframcloud.com/oembed', true ),
107107
'#https?://pca\.st/.+#i' => array( 'https://pca.st/oembed.json', true ),
108+
'#https?://datastudio\.google\.com/c/u/0/reporting/.+#i' => array( 'https://datastudio.google.com/oembed', true ),
108109
);
109110

110111
if ( ! empty( self::$early_providers['add'] ) ) {
@@ -183,6 +184,7 @@ public function __construct() {
183184
* | Pinterest | pinterest.com | 5.9.0 |
184185
* | WolframCloud | wolframcloud.com | 5.9.0 |
185186
* | Pocket Casts | pocketcasts.com | 6.1.0 |
187+
* | Data Studio | datastudio.google.com | 6.1.0 |
186188
*
187189
* No longer supported providers:
188190
*

0 commit comments

Comments
 (0)