WordPress.org

Make WordPress Core

Changeset 24248


Ignore:
Timestamp:
05/14/13 13:47:37 (11 months ago)
Author:
ryan
Message:

Add the flickr shortlink, flic.kr, to the oEmbed default providers list.

Props Ipstenu
fixes #23052

File:
1 edited

Legend:

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

    r24168 r24248  
    3737            '#https?://(www\.)?dailymotion\.com/.*#i'            => array( 'http://www.dailymotion.com/services/oembed',        true  ), 
    3838            '#https?://(www\.)?flickr\.com/.*#i'                 => array( 'http://www.flickr.com/services/oembed/',            true  ), 
     39            'http://flic.kr/*'                                   => array( 'http://www.flickr.com/services/oembed/',            false ),             
    3940            '#https?://(.+\.)?smugmug\.com/.*#i'                 => array( 'http://api.smugmug.com/services/oembed/',           true  ), 
    4041            '#https?://(www\.)?hulu\.com/watch/.*#i'             => array( 'http://www.hulu.com/api/oembed.{format}',           true  ), 
Note: See TracChangeset for help on using the changeset viewer.