Embeds: Add Instagram TV support.
Props dannydehaan. Fixes #44557. Built from https://develop.svn.wordpress.org/trunk@44486 git-svn-id: http://core.svn.wordpress.org/trunk@44317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0888007275
commit
c6dea4c784
|
@ -76,7 +76,7 @@ class WP_oEmbed {
|
|||
'#https?://(www\.)?twitter\.com/i/moments/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'https://soundcloud.com/oembed', true ),
|
||||
'#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ),
|
||||
'#https?://(www\.)?instagr(\.am|am\.com)/p/.*#i' => array( 'https://api.instagram.com/oembed', true ),
|
||||
'#https?://(www\.)?instagr(\.am|am\.com)/(p|tv)/.*#i' => array( 'https://api.instagram.com/oembed', true ),
|
||||
'#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ),
|
||||
'#https?://(.+\.)?imgur\.com/.*#i' => array( 'https://api.imgur.com/oembed', true ),
|
||||
'#https?://(www\.)?meetu(\.ps|p\.com)/.*#i' => array( 'https://api.meetup.com/oembed', true ),
|
||||
|
@ -200,6 +200,8 @@ class WP_oEmbed {
|
|||
* | Someecards | someecards.com | Yes | 4.9.0 |
|
||||
* | Someecards | some.ly | Yes | 4.9.0 |
|
||||
* | Crowdsignal | survey.fm | Yes | 5.1.0 |
|
||||
* | Instagram TV | instagram.com | Yes | 5.1.0 |
|
||||
* | Instagram TV | instagr.am | Yes | 5.1.0 |
|
||||
*
|
||||
* No longer supported providers:
|
||||
*
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-alpha-44485';
|
||||
$wp_version = '5.1-alpha-44486';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue