WordPress.org

Make WordPress Core

Ticket #10337: 10337.8.patch

File 10337.8.patch, 1.1 KB (added by Viper007Bond, 12 years ago)

Fix malformed regex (whoops!)

  • wp-includes/class-oembed.php

     
    4040                        '#http://(www\.)?youtube.com/watch.*#i' => array( 'http://www.youtube.com/oembed',            true  ),
    4141                        'http://blip.tv/file/*'                 => array( 'http://blip.tv/oembed/',                   false ),
    4242                        '#http://(www\.)?vimeo\.com/.*#i'       => array( 'http://www.vimeo.com/api/oembed.{format}', true  ),
    43                         '#http://(www\.)?flickr.com/.*       => array( 'http://www.flickr.com/services/oembed/',   true ),
     43                        '#http://(www\.)?flickr.com/.*#i'       => array( 'http://www.flickr.com/services/oembed/',   true ),
    4444                        '#http://(www\.)?hulu.com/watch/.*#i'   => array( 'http://www.hulu.com/api/oembed.{format}',  true ),
    4545                        '#http://(www\.)?viddler.com/.*#i'      => array( 'http://lab.viddler.com/services/oembed/',  true ),
    4646                        'http://qik.com/*'                      => array( 'http://qik.com/api/oembed.{format}',       false ),