Ticket #24497: 24497.patch
File 24497.patch, 844 bytes (added by , 11 years ago) |
---|
-
wp-includes/class-oembed.php
56 56 '#https?://(www\.)?rdio\.com/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), 57 57 '#https?://rd\.io/x/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), 58 58 '#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ), 59 '#https?://(www\.)?collegehumor\.com/video/.*#i' => array( 'http://www.collegehumor.com/oembed.{format}', true ), 59 60 ) ); 60 61 61 62 // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().