Make WordPress Core

Changeset 27113


Ignore:
Timestamp:
02/06/2014 11:11:21 PM (11 years ago)
Author:
nacin
Message:

Add imgur to the list of oEmbed providers.

props bradparbs.
fixes #21632.

File:
1 edited

Legend:

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

    r26978 r27113  
    5656            '#https?://rd\.io/x/.*#i'                             => array( 'http://www.rdio.com/api/oembed/',                    true  ),
    5757            '#https?://(open|play)\.spotify\.com/.*#i'            => array( 'https://embed.spotify.com/oembed/',                  true  ),
     58            '#https?://(.+\.)?imgur\.com/.*#i'                    => array( 'http://api.imgur.com/oembed',                        true  ),
    5859        );
    5960
Note: See TracChangeset for help on using the changeset viewer.