Make WordPress Core

Ticket #20102: vimeo-oembed-https.diff

File vimeo-oembed-https.diff, 1.1 KB (added by gluten, 13 years ago)
  • wp-includes/class-oembed.php

     
    3333                        '#http://(www\.)?youtube.com/watch.*#i'         => array( 'http://www.youtube.com/oembed',            true  ),
    3434                        'http://youtu.be/*'                             => array( 'http://www.youtube.com/oembed',            false ),
    3535                        'http://blip.tv/*'                              => array( 'http://blip.tv/oembed/',                   false ),
    36                         '#http://(www\.)?vimeo\.com/.*#i'               => array( 'http://vimeo.com/api/oembed.{format}',     true  ),
     36                        '#https?://(www\.)?vimeo\.com/.*#i'             => array( 'http://vimeo.com/api/oembed.{format}',     true  ),
    3737                        '#http://(www\.)?dailymotion\.com/.*#i'         => array( 'http://www.dailymotion.com/api/oembed',    true  ),
    3838                        '#http://(www\.)?flickr\.com/.*#i'              => array( 'http://www.flickr.com/services/oembed/',   true  ),
    3939                        '#http://(.+\.)?smugmug\.com/.*#i'              => array( 'http://api.smugmug.com/services/oembed/',  true  ),