WordPress.org

Make WordPress Core

Ticket #12157: 12157.patch

File 12157.patch, 974 bytes (added by Viper007Bond, 6 years ago)
  • wp-includes/class-oembed.php

     
    4242                        '#http://(www\.)?vimeo\.com/.*#i'       => array( 'http://www.vimeo.com/api/oembed.{format}', true  ), 
    4343                        '#http://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/api/oembed',    true  ), 
    4444                        '#http://(www\.)?flickr\.com/.*#i'      => array( 'http://www.flickr.com/services/oembed/',   true  ), 
     45                        '#http://(.+)?smugmug\.com/.*#i'        => array( 'http://api.smugmug.com/services/oembed/',  true  ), 
    4546                        '#http://(www\.)?hulu\.com/watch/.*#i'  => array( 'http://www.hulu.com/api/oembed.{format}',  true  ), 
    4647                        '#http://(www\.)?viddler\.com/.*#i'     => array( 'http://lab.viddler.com/services/oembed/',  true  ), 
    4748                        'http://qik.com/*'                      => array( 'http://qik.com/api/oembed.{format}',       false ),