Make WordPress Core

Changeset 45385


Ignore:
Timestamp:
05/23/2019 09:19:50 PM (6 years ago)
Author:
johnbillion
Message:

Embeds: Use HTTPS for the Hulu oEmbed endpoint, as it redirects to HTTPS now.

Fixes #28507

File:
1 edited

Legend:

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

    r45061 r45385  
    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( 'http://www.hulu.com/api/oembed.{format}', true ),
     62            '#https?://(www\.)?hulu\.com/watch/.*#i'       => array( 'https://www.hulu.com/api/oembed.{format}', true ),
    6363            '#https?://(www\.)?scribd\.com/(doc|document)/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
    6464            '#https?://wordpress\.tv/.*#i'                 => array( 'https://wordpress.tv/oembed/', true ),
Note: See TracChangeset for help on using the changeset viewer.