Ticket #11556: 11556.2.patch
| File 11556.2.patch, 962 bytes (added by , 16 years ago) |
|---|
-
wp-includes/class-oembed.php
38 38 // Add to this list using the wp_oembed_add_provider() function (see it's PHPDoc for details). 39 39 $this->providers = apply_filters( 'oembed_providers', array( 40 40 '#http://(www\.)?youtube.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), 41 'http://youtu.be/*' => array( 'http://www.youtube.com/oembed', false ), 41 42 'http://blip.tv/file/*' => array( 'http://blip.tv/oembed/', false ), 42 43 '#http://(www\.)?vimeo\.com/.*#i' => array( 'http://www.vimeo.com/api/oembed.{format}', true ), 43 44 '#http://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/api/oembed', true ),