From ab6b171b1d3aff141208eb4f33f7af57e0b1fc04 Mon Sep 17 00:00:00 2001 From: atimmer Date: Thu, 18 Oct 2018 13:22:26 +0000 Subject: [PATCH] Script loading: Fix regression after [43738]. After [43738], TinyMCE would be loaded earlier than before, which makes filters run at a different time relative to the loading of TinyMCE. Fix this by calling `wp_print_scripts` at the location where TinyMCE would previously be inserted as a `\n"; } diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index fb6569a636..109eea66f5 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -670,7 +670,7 @@ function wp_default_scripts( &$scripts ) { $scripts->add( 'colorpicker', "/wp-includes/js/colorpicker$suffix.js", array('prototype'), '3517m' ); - $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('wp-tinymce','utils','jquery'), false, 1 ); + $scripts->add( 'editor', "/wp-admin/js/editor$suffix.js", array('utils','jquery'), false, 1 ); // Back-compat for old DFW. To-do: remove at the end of 2016. $scripts->add( 'wp-fullscreen-stub', "/wp-admin/js/wp-fullscreen-stub$suffix.js", array(), false, 1 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 48cdc61eb1..896d2b07b4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43752'; +$wp_version = '5.0-alpha-43753'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.