Make WordPress Core

Changeset 59888


Ignore:
Timestamp:
02/28/2025 01:28:01 PM (11 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-oembed.php

    r59883 r59888  
    5656            '#https?://((m|www)\.)?youtube\.com/shorts/*#i' => array( 'https://www.youtube.com/oembed', true ),
    5757            '#https?://((m|www)\.)?youtube\.com/live/*#i'  => array( 'https://www.youtube.com/oembed', true ),
    58             '#https?://((m|www)\.)?youtube-nocookie\.com/embed/.*#i' => array( 'https://www.youtube.com/oembed', true ),
    5958            '#https?://youtu\.be/.*#i'                     => array( 'https://www.youtube.com/oembed', true ),
    6059            '#https?://(.+\.)?vimeo\.com/.*#i'             => array( 'https://vimeo.com/api/oembed.{format}', true ),
     
    194193         * | Bluesky      | bsky.app                                  | 6.6.0   |
    195194         * | Canva        | canva.com                                 | 6.8.0   |
    196          * | YouTube      | youtube-nocookie.com                      | 6.8.0   |
    197195         *
    198196         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.