Make WordPress Core

Changeset 60914


Ignore:
Timestamp:
10/08/2025 03:00:58 AM (5 weeks ago)
Author:
SergeyBiryukov
Message:

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], mu:1298, mu:1319, [12603].

Props skithund, jrf, snehapatil02, debarghyabanerjee, tillkruess, audrasjb, spacedmonkey, desrosj, rollybueno, SergeyBiryukov.
Fixes #61675.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-activate.php

    r60204 r60914  
    6464
    6565nocache_headers();
    66 
    67 if ( is_object( $wp_object_cache ) ) {
    68     $wp_object_cache->cache_enabled = false;
    69 }
    7066
    7167// Fix for page title.
Note: See TracChangeset for help on using the changeset viewer.