Make WordPress Core

Changeset 34587


Ignore:
Timestamp:
09/26/2015 11:50:35 AM (9 years ago)
Author:
johnbillion
Message:

Switch to the https oEmbed endpoint for Dailymotion so secure embeds are supported.

See #28507

File:
1 edited

Legend:

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

    r34526 r34587  
    4242            '#https://youtu\.be/.*#i'                             => array( 'http://www.youtube.com/oembed?scheme=https',         true  ),
    4343            '#https?://(.+\.)?vimeo\.com/.*#i'                    => array( 'http://vimeo.com/api/oembed.{format}',               true  ),
    44             '#https?://(www\.)?dailymotion\.com/.*#i'             => array( 'http://www.dailymotion.com/services/oembed',         true  ),
    45             'http://dai.ly/*'                                     => array( 'http://www.dailymotion.com/services/oembed',         false ),
     44            '#https?://(www\.)?dailymotion\.com/.*#i'             => array( 'https://www.dailymotion.com/services/oembed',        true  ),
     45            'http://dai.ly/*'                                     => array( 'https://www.dailymotion.com/services/oembed',        false ),
    4646            '#https?://(www\.)?flickr\.com/.*#i'                  => array( 'https://www.flickr.com/services/oembed/',            true  ),
    4747            '#https?://flic\.kr/.*#i'                             => array( 'https://www.flickr.com/services/oembed/',            true  ),
Note: See TracChangeset for help on using the changeset viewer.