mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-24 17:21:34 +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 ) {
|
if ( self::$has_medialib ) {
|
||||||
add_thickbox();
|
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
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user