WordPress.org

Make WordPress Core

Changeset 24164


Ignore:
Timestamp:
05/02/13 23:55:07 (2 years ago)
Author:
nacin
Message:

Add Spotify to the default oEmbed providers list. fixes #24242.

File:
1 edited

Legend:

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

    r24160 r24164  
    5454            '#https?://(www\.)?rdio\.com/.*#i'                   => array( 'http://www.rdio.com/api/oembed/',                   true  ), 
    5555            '#https?://rd\.io/x/.*#i'                            => array( 'http://www.rdio.com/api/oembed/',                   true  ), 
     56            '#https?://open.spotify.com/.*#i'                    => array( 'https://embed.spotify.com/oembed/',                 true  ), 
    5657        ) ); 
    5758 
Note: See TracChangeset for help on using the changeset viewer.