Make WordPress Core

Ticket #31592: 31592.diff

File 31592.diff, 2.0 KB (added by johnbillion, 10 years ago)
  • src/wp-includes/class-oembed.php

     
    4444                        '#https?://flic\.kr/.*#i'                             => array( 'https://www.flickr.com/services/oembed/',            true  ),
    4545                        '#https?://(.+\.)?smugmug\.com/.*#i'                  => array( 'http://api.smugmug.com/services/oembed/',            true  ),
    4646                        '#https?://(www\.)?hulu\.com/watch/.*#i'              => array( 'http://www.hulu.com/api/oembed.{format}',            true  ),
    47                         'http://revision3.com/*'                              => array( 'http://revision3.com/api/oembed/',                   false ),
    4847                        'http://i*.photobucket.com/albums/*'                  => array( 'http://photobucket.com/oembed',                      false ),
    4948                        'http://gi*.photobucket.com/groups/*'                 => array( 'http://photobucket.com/oembed',                      false ),
    5049                        '#https?://(www\.)?scribd\.com/doc/.*#i'              => array( 'http://www.scribd.com/services/oembed',              true  ),
     
    102101                 * | Flickr       | flickr.com           |  Yes  | 2.9.0     |
    103102                 * | Hulu         | hulu.com             |  Yes  | 2.9.0     |
    104103                 * | Photobucket  | photobucket.com      |   !   | 2.9.0     |
    105                  * | Revision3    | revision3.com        |   !   | 2.9.0     |
    106104                 * | Scribd       | scribd.com           |  Yes  | 2.9.0     |
    107105                 * | Vimeo        | vimeo.com            |  Yes  | 2.9.0     |
    108106                 * | WordPress.tv | wordpress.tv         |  Yes  | 2.9.0     |
     
    155153                 * | ------------ | -------------------- | ----- | --------- | --------- |
    156154                 * | Viddler      | viddler.com          |  Yes  | 2.9.0     | 4.0.0     |
    157155                 * | ------------ | -------------------- | ----- | --------- | --------- |
     156                 * | Revision3    | revision3.com        |   !   | 2.9.0     | 4.2.0     |
     157                 * | ------------ | -------------------- | ----- | --------- | --------- |
    158158                 *
    159159                 * @see wp_oembed_add_provider()
    160160                 *