mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 12:00:03 +01:00
Embeds: Revert [59883].
This reverts [59883] as the addition of the youtube-nocookie domain to the embed providers list wasn't done correctly. Unprops audrasjb. Props otto42, swissspidy. See #44610. git-svn-id: https://develop.svn.wordpress.org/trunk@59888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
46399d6eb3
commit
3f82512e5c
@ -55,7 +55,6 @@ class WP_oEmbed {
|
||||
'#https?://((m|www)\.)?youtube\.com/playlist.*#i' => array( 'https://www.youtube.com/oembed', true ),
|
||||
'#https?://((m|www)\.)?youtube\.com/shorts/*#i' => array( 'https://www.youtube.com/oembed', true ),
|
||||
'#https?://((m|www)\.)?youtube\.com/live/*#i' => array( 'https://www.youtube.com/oembed', true ),
|
||||
'#https?://((m|www)\.)?youtube-nocookie\.com/embed/.*#i' => array( 'https://www.youtube.com/oembed', true ),
|
||||
'#https?://youtu\.be/.*#i' => array( 'https://www.youtube.com/oembed', true ),
|
||||
'#https?://(.+\.)?vimeo\.com/.*#i' => array( 'https://vimeo.com/api/oembed.{format}', true ),
|
||||
'#https?://(www\.)?dailymotion\.com/.*#i' => array( 'https://www.dailymotion.com/services/oembed', true ),
|
||||
@ -193,7 +192,6 @@ class WP_oEmbed {
|
||||
* | Anghami | anghami.com | 6.3.0 |
|
||||
* | Bluesky | bsky.app | 6.6.0 |
|
||||
* | Canva | canva.com | 6.8.0 |
|
||||
* | YouTube | youtube-nocookie.com | 6.8.0 |
|
||||
*
|
||||
* No longer supported providers:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user