Make WordPress Core

Changeset 28834


Ignore:
Timestamp:
06/25/2014 11:35:02 PM (10 years ago)
Author:
johnbillion
Message:

Switch to SSL for the Flickr and Slideshare oEmbed endpoints. Add support for SSL embeds on flic.kr. See #28507.

File:
1 edited

Legend:

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

    r28822 r28834  
    3838            '#https?://(www\.)?dailymotion\.com/.*#i'             => array( 'http://www.dailymotion.com/services/oembed',         true  ),
    3939            'http://dai.ly/*'                                     => array( 'http://www.dailymotion.com/services/oembed',         false ),
    40             '#https?://(www\.)?flickr\.com/.*#i'                  => array( 'http://www.flickr.com/services/oembed/',             true  ),
    41             'http://flic.kr/*'                                    => array( 'http://www.flickr.com/services/oembed/',             false ),
     40            '#https?://(www\.)?flickr\.com/.*#i'                  => array( 'https://www.flickr.com/services/oembed/',            true  ),
     41            '#https?://flic\.kr/.*#i'                             => array( 'https://www.flickr.com/services/oembed/',            true ),
    4242            '#https?://(.+\.)?smugmug\.com/.*#i'                  => array( 'http://api.smugmug.com/services/oembed/',            true  ),
    4343            '#https?://(www\.)?hulu\.com/watch/.*#i'              => array( 'http://www.hulu.com/api/oembed.{format}',            true  ),
     
    5252            '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true  ),
    5353            '#https?://(www\.)?soundcloud\.com/.*#i'              => array( 'http://soundcloud.com/oembed',                       true  ),
    54             '#https?://(www\.)?slideshare\.net/.*#i'              => array( 'http://www.slideshare.net/api/oembed/2',             true  ),
     54            '#https?://(www\.)?slideshare\.net/.*#i'              => array( 'https://www.slideshare.net/api/oembed/2',            true  ),
    5555            '#http://instagr(\.am|am\.com)/p/.*#i'                => array( 'http://api.instagram.com/oembed',                    true  ),
    5656            '#https?://(www\.)?rdio\.com/.*#i'                    => array( 'http://www.rdio.com/api/oembed/',                    true  ),
Note: See TracChangeset for help on using the changeset viewer.