mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
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:
parent
d8a6dee52c
commit
94d344829e
@ -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' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user