Editor: Enqueue the `wp-embed` script to fix embed previews inside the media modal.

Props swissspidy.
Fixes #37334.
Built from https://develop.svn.wordpress.org/trunk@38062


git-svn-id: http://core.svn.wordpress.org/trunk@38003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-07-14 13:29:31 +00:00
parent d8a6dee52c
commit 94d344829e
2 changed files with 3 additions and 2 deletions

View File

@ -789,7 +789,8 @@ final class _WP_Editors {
if ( self::$has_medialib ) {
add_thickbox();
wp_enqueue_script('media-upload');
wp_enqueue_script( 'media-upload' );
wp_enqueue_script( 'wp-embed' );
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-beta3-38061';
$wp_version = '4.6-beta3-38062';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.