WordPress.org

Make WordPress Core

Changeset 48512


Ignore:
Timestamp:
07/20/2020 01:10:36 PM (3 months ago)
Author:
desrosj
Message:

Embeds: Remove Hulu from the list of supported oEmbed providers.

The oEmbed service for Hulu no longer works and appears to have been silently disabled.

Props tacitonic, talldanwp, youknowriad, bph.
Fixes #50676.

File:
1 edited

Legend:

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

    r48185 r48512  
    6060            '#https?://flic\.kr/.*#i'                      => array( 'https://www.flickr.com/services/oembed/', true ),
    6161            '#https?://(.+\.)?smugmug\.com/.*#i'           => array( 'https://api.smugmug.com/services/oembed/', true ),
    62             '#https?://(www\.)?hulu\.com/watch/.*#i'       => array( 'https://www.hulu.com/api/oembed.{format}', true ),
    6362            '#https?://(www\.)?scribd\.com/(doc|document)/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
    6463            '#https?://wordpress\.tv/.*#i'                 => array( 'https://wordpress.tv/oembed/', true ),
     
    144143         * | Dailymotion  | dailymotion.com                           | 2.9.0   |
    145144         * | Flickr       | flickr.com                                | 2.9.0   |
    146          * | Hulu         | hulu.com                                  | 2.9.0   |
    147145         * | Scribd       | scribd.com                                | 2.9.0   |
    148146         * | Vimeo        | vimeo.com                                 | 2.9.0   |
     
    213211         * | Funny or Die | funnyordie.com       | 3.0.0     | 5.1.0     |
    214212         * | CollegeHumor | collegehumor.com     | 4.0.0     | 5.3.1     |
     213         * | Hulu         | hulu.com             | 2.9.0     | 5.4.2     |
    215214         *
    216215         * @see wp_oembed_add_provider()
Note: See TracChangeset for help on using the changeset viewer.