From fc781d2f8a82175810a8af14f5288badc76c612a Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sat, 19 Jan 2019 10:23:50 +0000 Subject: [PATCH] TinyMCE: fix `$_old_files` after [44651], remove `wp-tinymce.js` and add `wp-tinymce.js.gz`. Props ocean90, garrett-eclipse. Fixes #45645. Built from https://develop.svn.wordpress.org/trunk@44654 git-svn-id: http://core.svn.wordpress.org/trunk@44485 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 5 ++++- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index b04840c43a..c640332c29 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -253,7 +253,8 @@ $_old_files = array( 'wp-includes/js/jquery/autocomplete.js', 'wp-includes/js/jquery/interface.js', 'wp-includes/js/scriptaculous/prototype.js', - 'wp-includes/js/tinymce/wp-tinymce.js', + // Following file added back in 5.1 see #45645 + //'wp-includes/js/tinymce/wp-tinymce.js', // 3.1 'wp-admin/edit-attachment-rows.php', 'wp-admin/edit-link-categories.php', @@ -781,6 +782,8 @@ $_old_files = array( 'wp-includes/js/mediaelement/renderers/twitch.min.js', // 5.0 'wp-includes/js/codemirror/jshint.js', + // 5.1 + 'wp-includes/js/tinymce/wp-tinymce.js.gz', ); /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 274c7c8d21..c17ea7e9ff 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta1-44653'; +$wp_version = '5.1-beta1-44654'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.