From 8f26450fba356adbf751a80e2e9238d1c90a74f5 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 10 Oct 2022 23:09:53 +0000 Subject: [PATCH] Embeds: Revert Google Data Studio as trusted provider. Remove Google Data Studio's status as a trusted oEmbed provider pending upstream implementation of the oEmbed specification. See #55771. git-svn-id: https://develop.svn.wordpress.org/trunk@54465 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-oembed.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-includes/class-wp-oembed.php b/src/wp-includes/class-wp-oembed.php index 277bc8dcec..8e4d70c909 100644 --- a/src/wp-includes/class-wp-oembed.php +++ b/src/wp-includes/class-wp-oembed.php @@ -107,7 +107,6 @@ 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'] ) ) { @@ -186,7 +185,6 @@ 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: *