diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 9b4672022..fda17389d 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -47,6 +47,7 @@ class WP_oEmbed { 'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ), '#http://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ), '#http://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), + '#https?://(www\.)?twitter.com/.+?/status(es)?/.*#i' => array( 'http://api.twitter.com/1/statuses/oembed.{format}', true ), ) ); // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().