Ticket #25265: add_mixlr_oembed_to_whitelist.diff
File add_mixlr_oembed_to_whitelist.diff, 840 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 'http://mixlr.com/*' => array( 'http://mixlr.com/services/oembed/', false ), 59 60 ) ); 60 61 61 62 // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().