Embeds: Remove Hulu from the list of supported oEmbed providers.
The oEmbed service for Hulu no longer works and appears to have been silently disabled. Props tacitonic, talldanwp, youknowriad, bph. Fixes #50676. Built from https://develop.svn.wordpress.org/trunk@48512 git-svn-id: http://core.svn.wordpress.org/trunk@48274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
637d9df95a
commit
511e9cfade
|
@ -59,7 +59,6 @@ class WP_oEmbed {
|
|||
'#https?://(www\.)?flickr\.com/.*#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?://(www\.)?hulu\.com/watch/.*#i' => array( 'https://www.hulu.com/api/oembed.{format}', true ),
|
||||
'#https?://(www\.)?scribd\.com/(doc|document)/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
|
||||
'#https?://wordpress\.tv/.*#i' => array( 'https://wordpress.tv/oembed/', true ),
|
||||
'#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||
|
@ -143,7 +142,6 @@ class WP_oEmbed {
|
|||
* | ------------ | ----------------------------------------- | ------- |
|
||||
* | Dailymotion | dailymotion.com | 2.9.0 |
|
||||
* | Flickr | flickr.com | 2.9.0 |
|
||||
* | Hulu | hulu.com | 2.9.0 |
|
||||
* | Scribd | scribd.com | 2.9.0 |
|
||||
* | Vimeo | vimeo.com | 2.9.0 |
|
||||
* | WordPress.tv | wordpress.tv | 2.9.0 |
|
||||
|
@ -212,6 +210,7 @@ class WP_oEmbed {
|
|||
* | Photobucket | photobucket.com | 2.9.0 | 5.1.0 |
|
||||
* | Funny or Die | funnyordie.com | 3.0.0 | 5.1.0 |
|
||||
* | CollegeHumor | collegehumor.com | 4.0.0 | 5.3.1 |
|
||||
* | Hulu | hulu.com | 2.9.0 | 5.4.2 |
|
||||
*
|
||||
* @see wp_oembed_add_provider()
|
||||
*
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-beta2-48511';
|
||||
$wp_version = '5.5-beta2-48512';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue