Ticket #21635: speakerdeck-slideshare-oembed.diff
File speakerdeck-slideshare-oembed.diff, 869 bytes (added by , 12 years ago) |
---|
-
wp-includes/class-oembed.php
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 50 '#https?://(www\.)?twitter.com/.+?/status(es)?/.*#i' => array( 'http://api.twitter.com/1/statuses/oembed.{format}', true ), 51 '#https?://(www\.)?speakerdeck.com/u/*#' => array( 'http://speakerdeck.com/oembed.json', true ), 52 '#https?://(www\.)?slideshare.net/*#' => array( 'http://www.slideshare.net/api/oembed/2', true ), 51 53 ) ); 52 54 53 55 // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().