Ticket #19626: 19626.diff
File 19626.diff, 798 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-oembed.php
47 47 'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ), 48 48 '#http://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ), 49 49 '#http://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), 50 '#http(s)?://(www\.)?twitter.com/.+?/status/.*#i' => array( 'http://api.twitter.com/1/statuses/oembed.{format}', true), 50 51 ) ); 51 52 52 53 // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().