From e2025a078ca47cd18c262b8481b428f69651fbdd Mon Sep 17 00:00:00 2001 From: davidbaumwald Date: Mon, 11 Nov 2024 19:06:18 +0000 Subject: [PATCH] Upgrade/Install: Update the `$_old_files` array for 6.7. Props pbiron, peterwilsoncc, fazyshah. Fixes #62150. Built from https://develop.svn.wordpress.org/trunk@59386 git-svn-id: http://core.svn.wordpress.org/trunk@58772 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 50 +++++++++++++++++++++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index d5c4385c7e..a29f389860 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -778,6 +778,56 @@ $_old_files = array( 'wp-includes/blocks/block/editor.min.css', 'wp-includes/blocks/block/editor-rtl.css', 'wp-includes/blocks/block/editor-rtl.min.css', + /* + * 6.7 + * + * WordPress 6.7 included a SimplePie upgrade that included a major + * refactoring of the file structure and library. The old files are + * split in to two sections to account for this: files and directories. + * + * See https://core.trac.wordpress.org/changeset/59141 + */ + // 6.7 - files + 'wp-includes/js/dist/interactivity-router.asset.php', + 'wp-includes/js/dist/interactivity-router.js', + 'wp-includes/js/dist/interactivity-router.min.js', + 'wp-includes/js/dist/interactivity-router.min.asset.php', + 'wp-includes/js/dist/interactivity.js', + 'wp-includes/js/dist/interactivity.min.js', + 'wp-includes/js/dist/vendor/react-dom.min.js.LICENSE.txt', + 'wp-includes/js/dist/vendor/react.min.js.LICENSE.txt', + 'wp-includes/js/dist/vendor/wp-polyfill-importmap.js', + 'wp-includes/js/dist/vendor/wp-polyfill-importmap.min.js', + 'wp-includes/sodium_compat/src/Core/Base64/Common.php', + 'wp-includes/SimplePie/Author.php', + 'wp-includes/SimplePie/Cache.php', + 'wp-includes/SimplePie/Caption.php', + 'wp-includes/SimplePie/Category.php', + 'wp-includes/SimplePie/Copyright.php', + 'wp-includes/SimplePie/Core.php', + 'wp-includes/SimplePie/Credit.php', + 'wp-includes/SimplePie/Enclosure.php', + 'wp-includes/SimplePie/Exception.php', + 'wp-includes/SimplePie/File.php', + 'wp-includes/SimplePie/gzdecode.php', + 'wp-includes/SimplePie/IRI.php', + 'wp-includes/SimplePie/Item.php', + 'wp-includes/SimplePie/Locator.php', + 'wp-includes/SimplePie/Misc.php', + 'wp-includes/SimplePie/Parser.php', + 'wp-includes/SimplePie/Rating.php', + 'wp-includes/SimplePie/Registry.php', + 'wp-includes/SimplePie/Restriction.php', + 'wp-includes/SimplePie/Sanitize.php', + 'wp-includes/SimplePie/Source.php', + // 6.7 - directories + 'wp-includes/SimplePie/Cache/', + 'wp-includes/SimplePie/Content/', + 'wp-includes/SimplePie/Decode/', + 'wp-includes/SimplePie/HTTP/', + 'wp-includes/SimplePie/Net/', + 'wp-includes/SimplePie/Parse/', + 'wp-includes/SimplePie/XML/', ); /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 2b2b519b56..83b90938f3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59382'; +$wp_version = '6.8-alpha-59386'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.