Skip to content

Commit e11e9f2

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@60914 602fd350-edb4-49c9-b593-d223f7449a82
1 parent dbd1ed5 commit e11e9f2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/wp-activate.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@
6464

6565
nocache_headers();
6666

67-
if ( is_object( $wp_object_cache ) ) {
68-
$wp_object_cache->cache_enabled = false;
69-
}
70-
7167
// Fix for page title.
7268
$wp_query->is_404 = false;
7369

0 commit comments

Comments
 (0)