mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Embeds: Add screencast.com to oEmbed provider whitelist.
Props ENDif Media. Fixes #38367. Built from https://develop.svn.wordpress.org/trunk@40574 git-svn-id: http://core.svn.wordpress.org/trunk@40444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
88e515fac0
commit
e1d5fd1c6b
@ -108,6 +108,7 @@ class WP_oEmbed {
|
||||
'#https?://www\.facebook\.com/notes/.*#i' => array( 'https://www.facebook.com/plugins/post/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/.*/videos/.*#i' => array( 'https://www.facebook.com/plugins/video/oembed.json/', true ),
|
||||
'#https?://www\.facebook\.com/video\.php.*#i' => array( 'https://www.facebook.com/plugins/video/oembed.json/', true ),
|
||||
'#https?://(www\.)?screencast\.com/.*#i' => array( 'https://api.screencast.com/external/oembed', true ),
|
||||
);
|
||||
|
||||
if ( ! empty( self::$early_providers['add'] ) ) {
|
||||
@ -181,6 +182,7 @@ class WP_oEmbed {
|
||||
* | Twitter | twitter.com/user | Yes | 4.7.0 |
|
||||
* | Twitter | twitter.com/likes | Yes | 4.7.0 |
|
||||
* | Twitter | twitter.com/lists | Yes | 4.7.0 |
|
||||
* | Screencast | screencast.com | Yes | 4.8.0 |
|
||||
*
|
||||
* No longer supported providers:
|
||||
*
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-40573';
|
||||
$wp_version = '4.8-alpha-40574';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user