diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 49a189f4fb..c25b8cbac8 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -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: * diff --git a/wp-includes/version.php b/wp-includes/version.php index f57920064c..51c19eda73 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.