Make WordPress Core

Changeset 44552


Ignore:
Timestamp:
01/10/2019 10:41:13 PM (8 years ago)
Author:
desrosj
Message:

Embeds: Remove Photobucket, FunnyOrDie from the list of oEmbed providers.

These services no longer support oEmbed.

Props skostadinov, notnownikki.
Fixes #45399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r44511 r44552  
    6161                        '#https?://(.+\.)?smugmug\.com/.*#i'           => array( 'https://api.smugmug.com/services/oembed/', true ),
    6262                        '#https?://(www\.)?hulu\.com/watch/.*#i'       => array( 'http://www.hulu.com/api/oembed.{format}', true ),
    63                         'http://i*.photobucket.com/albums/*'           => array( 'http://api.photobucket.com/oembed', false ),
    64                         'http://gi*.photobucket.com/groups/*'          => array( 'http://api.photobucket.com/oembed', false ),
    6563                        '#https?://(www\.)?scribd\.com/doc/.*#i'       => array( 'https://www.scribd.com/services/oembed', true ),
    6664                        '#https?://wordpress\.tv/.*#i'                 => array( 'https://wordpress.tv/oembed/', true ),
     
    6866                        '#https?://poll\.fm/.*#i'                      => array( 'https://api.crowdsignal.com/oembed', true ),
    6967                        '#https?://survey\.fm/.*#i'                    => array( 'https://api.crowdsignal.com/oembed', true ),
    70                         '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
    7168                        '#https?://(www\.)?twitter\.com/\w{1,15}/status(es)?/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
    7269                        '#https?://(www\.)?twitter\.com/\w{1,15}$#i'   => array( 'https://publish.twitter.com/oembed', true ),
     
    148145                 * | Flickr       | flickr.com                                |      Yes       | 2.9.0   |
    149146                 * | Hulu         | hulu.com                                  |      Yes       | 2.9.0   |
    150                  * | Photobucket  | photobucket.com                           |      No        | 2.9.0   |
    151147                 * | Scribd       | scribd.com                                |      Yes       | 2.9.0   |
    152148                 * | Vimeo        | vimeo.com                                 |      Yes       | 2.9.0   |
    153149                 * | WordPress.tv | wordpress.tv                              |      Yes       | 2.9.0   |
    154150                 * | YouTube      | youtube.com/watch                         |      Yes       | 2.9.0   |
    155                  * | Funny or Die | funnyordie.com                            |      Yes       | 3.0.0   |
    156151                 * | Crowdsignal  | polldaddy.com                             |      Yes       | 3.0.0   |
    157152                 * | SmugMug      | smugmug.com                               |      Yes       | 3.0.0   |
     
    215210                 * | Rdio         | rd.io                |      Yes       | 3.6.0     | 4.4.1     |
    216211                 * | Vine         | vine.co              |      Yes       | 4.1.0     | 4.9.0     |
     212                 * | Photobucket  | photobucket.com      |      No        | 2.9.0     | 5.1.0     |
     213                 * | Funny or Die | funnyordie.com       |      Yes       | 3.0.0     | 5.1.0     |
    217214                 *
    218215                 * @see wp_oembed_add_provider()
Note: See TracChangeset for help on using the changeset viewer.