Ticket #23149: 23149.3.diff
File 23149.3.diff, 1.2 KB (added by , 11 years ago) |
---|
-
wp-includes/class-oembed.php
27 27 */ 28 28 function __construct() { 29 29 $providers = array( 30 '#https?://(www\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed ',true ),31 ' http://youtu.be/*' => array( 'http://www.youtube.com/oembed', false),30 '#https?://(www\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), 31 '#https?://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), 32 32 'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ), 33 33 '#https?://(www\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), 34 34 '#https?://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/services/oembed', true ),