diff --git a/wp-includes/version.php b/wp-includes/version.php index b4b073433f..6348fb2cd2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42543'; +$wp_version = '5.0-alpha-42545'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-text.php b/wp-includes/widgets/class-wp-widget-text.php index dc94978cd4..5d73eb4ce0 100644 --- a/wp-includes/widgets/class-wp-widget-text.php +++ b/wp-includes/widgets/class-wp-widget-text.php @@ -400,6 +400,7 @@ class WP_Widget_Text extends WP_Widget { */ public function enqueue_admin_scripts() { wp_enqueue_editor(); + wp_enqueue_media(); wp_enqueue_script( 'text-widgets' ); wp_add_inline_script( 'text-widgets', 'wp.textWidgets.init();', 'after' ); }