Ticket #11899: 11899.2.patch
File 11899.2.patch, 793 bytes (added by , 15 years ago) |
---|
-
wp-includes/class-oembed.php
53 53 '#http://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), 54 54 'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ), 55 55 '#http://(answers|surveys)\.polldaddy.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ), 56 '#http://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), 56 57 ) ); 57 58 58 59 // Fix Scribd embeds. They contain new lines in the middle of the HTML which breaks wpautop().