WordPress.org

Make WordPress Core

Changeset 24165


Ignore:
Timestamp:
05/03/13 00:21:20 (22 months ago)
Author:
nacin
Message:

Support Spotify web player links. see #24242.

File:
1 edited

Legend:

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

    r24164 r24165  
    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  ), 
     56            '#https?://(open|play).spotify.com/.*#i'             => array( 'https://embed.spotify.com/oembed/',                 true  ), 
    5757        ) ); 
    5858 
Note: See TracChangeset for help on using the changeset viewer.