Make WordPress Core

Changeset 41680


Ignore:
Timestamp:
10/02/2017 07:05:18 PM (7 years ago)
Author:
johnbillion
Message:

Embeds: Switch the collegehumor.com oEmbed endpoint to HTTPS, as it redirects there by default now.

See #28507

File:
1 edited

Legend:

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

    r41676 r41680  
    8282            '#https?://(www\.)?meetu(\.ps|p\.com)/.*#i'                           => array( 'https://api.meetup.com/oembed',                         true  ),
    8383            '#https?://(www\.)?issuu\.com/.+/docs/.+#i'                           => array( 'https://issuu.com/oembed_wp',                           true  ),
    84             '#https?://(www\.)?collegehumor\.com/video/.*#i'                      => array( 'http://www.collegehumor.com/oembed.{format}',           true  ),
     84            '#https?://(www\.)?collegehumor\.com/video/.*#i'                      => array( 'https://www.collegehumor.com/oembed.{format}',          true  ),
    8585            '#https?://(www\.)?mixcloud\.com/.*#i'                                => array( 'https://www.mixcloud.com/oembed',                       true  ),
    8686            '#https?://(www\.|embed\.)?ted\.com/talks/.*#i'                       => array( 'https://www.ted.com/services/v1/oembed.{format}',       true  ),
Note: See TracChangeset for help on using the changeset viewer.