mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
1c69513245
commit
62f25a49d3
@ -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:
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user