diff --git a/wp-includes/version.php b/wp-includes/version.php index d54b898622..38a9fc8bc0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9.3-alpha-42544'; +$wp_version = '4.9.3-alpha-42546'; /** * 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 b62885dabb..2d36d91900 100644 --- a/wp-includes/widgets/class-wp-widget-text.php +++ b/wp-includes/widgets/class-wp-widget-text.php @@ -396,6 +396,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' ); }