Networks and Sites: Remove obsolete code from wp-activate.php.

The `WP_Object_Cache::$cache_enabled` property does not exist in core as of WordPress 2.5, and has no meaningful usage in external object cache implementations.

This check was originally added for debugging purposes, and is now a remnant from the WPMU merge.

Follow-up to [6539], [https://mu.trac.wordpress.org/changeset/1298 mu:1298], [https://mu.trac.wordpress.org/changeset/1319 mu:1319], [12603].

Props skithund, jrf, snehapatil02, debarghyabanerjee, tillkruess, audrasjb, spacedmonkey, desrosj, rollybueno, SergeyBiryukov.
Fixes #61675.
Built from https://develop.svn.wordpress.org/trunk@60914


git-svn-id: http://core.svn.wordpress.org/trunk@60250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2025-10-08 03:02:34 +00:00
parent 3c68b172f6
commit 69962171e9
2 changed files with 1 additions and 5 deletions

View File

@ -64,10 +64,6 @@ if ( null === $result || ( is_wp_error( $result ) && 'invalid_key' === $result->
nocache_headers();
if ( is_object( $wp_object_cache ) ) {
$wp_object_cache->cache_enabled = false;
}
// Fix for page title.
$wp_query->is_404 = false;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60913';
$wp_version = '6.9-alpha-60914';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.