Make WordPress Core

Ticket #11899: 11899.2.patch

File 11899.2.patch, 793 bytes (added by Viper007Bond, 15 years ago)

Patch refresh

  • wp-includes/class-oembed.php

     
    5353                        '#http://(www\.)?scribd\.com/.*#i'              => array( 'http://www.scribd.com/services/oembed',    true  ),
    5454                        'http://wordpress.tv/*'                         => array( 'http://wordpress.tv/oembed/',              false ),
    5555                        '#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  ),
    5657                ) );
    5758
    5859                // Fix Scribd embeds. They contain new lines in the middle of the HTML which breaks wpautop().