Embeds: Remove Photobucket, FunnyOrDie from the list of oEmbed providers.
These services no longer support oEmbed. Props skostadinov, notnownikki. Fixes #45399. Built from https://develop.svn.wordpress.org/trunk@44552 git-svn-id: http://core.svn.wordpress.org/trunk@44383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9a9b5699fd
commit
b98affb210
|
@ -60,14 +60,11 @@ class WP_oEmbed {
|
||||||
'#https?://flic\.kr/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ),
|
'#https?://flic\.kr/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ),
|
||||||
'#https?://(.+\.)?smugmug\.com/.*#i' => array( 'https://api.smugmug.com/services/oembed/', true ),
|
'#https?://(.+\.)?smugmug\.com/.*#i' => array( 'https://api.smugmug.com/services/oembed/', true ),
|
||||||
'#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ),
|
'#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ),
|
||||||
'http://i*.photobucket.com/albums/*' => array( 'http://api.photobucket.com/oembed', false ),
|
|
||||||
'http://gi*.photobucket.com/groups/*' => array( 'http://api.photobucket.com/oembed', false ),
|
|
||||||
'#https?://(www\.)?scribd\.com/doc/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
|
'#https?://(www\.)?scribd\.com/doc/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
|
||||||
'#https?://wordpress\.tv/.*#i' => array( 'https://wordpress.tv/oembed/', true ),
|
'#https?://wordpress\.tv/.*#i' => array( 'https://wordpress.tv/oembed/', true ),
|
||||||
'#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
'#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||||
'#https?://poll\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
'#https?://poll\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||||
'#https?://survey\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
'#https?://survey\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||||
'#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ),
|
|
||||||
'#https?://(www\.)?twitter\.com/\w{1,15}/status(es)?/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
|
'#https?://(www\.)?twitter\.com/\w{1,15}/status(es)?/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||||
'#https?://(www\.)?twitter\.com/\w{1,15}$#i' => array( 'https://publish.twitter.com/oembed', true ),
|
'#https?://(www\.)?twitter\.com/\w{1,15}$#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||||
'#https?://(www\.)?twitter\.com/\w{1,15}/likes$#i' => array( 'https://publish.twitter.com/oembed', true ),
|
'#https?://(www\.)?twitter\.com/\w{1,15}/likes$#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||||
|
@ -147,12 +144,10 @@ class WP_oEmbed {
|
||||||
* | Dailymotion | dailymotion.com | Yes | 2.9.0 |
|
* | Dailymotion | dailymotion.com | Yes | 2.9.0 |
|
||||||
* | Flickr | flickr.com | Yes | 2.9.0 |
|
* | Flickr | flickr.com | Yes | 2.9.0 |
|
||||||
* | Hulu | hulu.com | Yes | 2.9.0 |
|
* | Hulu | hulu.com | Yes | 2.9.0 |
|
||||||
* | Photobucket | photobucket.com | No | 2.9.0 |
|
|
||||||
* | Scribd | scribd.com | Yes | 2.9.0 |
|
* | Scribd | scribd.com | Yes | 2.9.0 |
|
||||||
* | Vimeo | vimeo.com | Yes | 2.9.0 |
|
* | Vimeo | vimeo.com | Yes | 2.9.0 |
|
||||||
* | WordPress.tv | wordpress.tv | Yes | 2.9.0 |
|
* | WordPress.tv | wordpress.tv | Yes | 2.9.0 |
|
||||||
* | YouTube | youtube.com/watch | Yes | 2.9.0 |
|
* | YouTube | youtube.com/watch | Yes | 2.9.0 |
|
||||||
* | Funny or Die | funnyordie.com | Yes | 3.0.0 |
|
|
||||||
* | Crowdsignal | polldaddy.com | Yes | 3.0.0 |
|
* | Crowdsignal | polldaddy.com | Yes | 3.0.0 |
|
||||||
* | SmugMug | smugmug.com | Yes | 3.0.0 |
|
* | SmugMug | smugmug.com | Yes | 3.0.0 |
|
||||||
* | YouTube | youtu.be | Yes | 3.0.0 |
|
* | YouTube | youtu.be | Yes | 3.0.0 |
|
||||||
|
@ -214,6 +209,8 @@ class WP_oEmbed {
|
||||||
* | Rdio | rdio.com | Yes | 3.6.0 | 4.4.1 |
|
* | Rdio | rdio.com | Yes | 3.6.0 | 4.4.1 |
|
||||||
* | Rdio | rd.io | Yes | 3.6.0 | 4.4.1 |
|
* | Rdio | rd.io | Yes | 3.6.0 | 4.4.1 |
|
||||||
* | Vine | vine.co | Yes | 4.1.0 | 4.9.0 |
|
* | Vine | vine.co | Yes | 4.1.0 | 4.9.0 |
|
||||||
|
* | Photobucket | photobucket.com | No | 2.9.0 | 5.1.0 |
|
||||||
|
* | Funny or Die | funnyordie.com | Yes | 3.0.0 | 5.1.0 |
|
||||||
*
|
*
|
||||||
* @see wp_oembed_add_provider()
|
* @see wp_oembed_add_provider()
|
||||||
*
|
*
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.1-alpha-44551';
|
$wp_version = '5.1-alpha-44552';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue