WordPress.org

Make WordPress Core

Changeset 26969


Ignore:
Timestamp:
01/17/2014 03:29:39 AM (6 years ago)
Author:
nacin
Message:

Switch Twitter oEmbed to SSL due to a Twitter API change that broke embedding across all WordPress sites.

Merges [26967] to the 3.8 branch.

props yurivictor, cojennin.
fixes #26844.

Location:
branches/3.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8

  • branches/3.8/src/wp-includes/class-oembed.php

    r25723 r26969  
    4747            '#https?://(.+\.)?polldaddy\.com/.*#i'               => array( 'http://polldaddy.com/oembed/',                      true  ),
    4848            '#https?://(www\.)?funnyordie\.com/videos/.*#i'      => array( 'http://www.funnyordie.com/oembed',                  true  ),
    49             '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i'=> array( 'http://api.twitter.com/1/statuses/oembed.{format}', true ),
     49            '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i'=> array( 'https://api.twitter.com/1/statuses/oembed.{format}', true ),
    5050            '#https?://(www\.)?soundcloud\.com/.*#i'             => array( 'http://soundcloud.com/oembed',                      true  ),
    5151            '#https?://(www\.)?slideshare\.net/*#'               => array( 'http://www.slideshare.net/api/oembed/2',            true  ),
Note: See TracChangeset for help on using the changeset viewer.