Make WordPress Core

Ticket #23052: 23052-2.diff

File 23052-2.diff, 1.1 KB (added by Ipstenu, 11 years ago)

Dropping regeex

  • wp/wp-includes/class-oembed.php

     
    3636                        '#https?://(www\.)?vimeo\.com/.*#i'                  => array( 'http://vimeo.com/api/oembed.{format}',              true  ),
    3737                        '#https?://(www\.)?dailymotion\.com/.*#i'            => array( 'http://www.dailymotion.com/services/oembed',        true  ),
    3838                        '#https?://(www\.)?flickr\.com/.*#i'                 => array( 'http://www.flickr.com/services/oembed/',            true  ),
     39                        '#http://flic.kr/.*'                                 => array( 'http://www.flickr.com/services/oembed/',            false ),
    3940                        '#https?://(.+\.)?smugmug\.com/.*#i'                 => array( 'http://api.smugmug.com/services/oembed/',           true  ),
    4041                        '#https?://(www\.)?hulu\.com/watch/.*#i'             => array( 'http://www.hulu.com/api/oembed.{format}',           true  ),
    4142                        '#https?://(www\.)?viddler\.com/.*#i'                => array( 'http://lab.viddler.com/services/oembed/',           true  ),