Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#2278 closed defect (bug) (fixed)

When Cache manually disabled, Upgrade hangs

Reported by: technosailor Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0
Component: General Keywords:
Focuses: Cc:


I manually disabled the WP cache long time ago (shortly after 2.0 release). When upgrading to a nightly with CACHE_DISABLED set to true, upgrade hangs on both the first and second wp_cache_flush();

Here's a patch that determins if CACHE_DISABLED is true and runs appropriate code.

Attachments (1)

upgrade.php-2278.diff (578 bytes) - added by technosailor 12 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
12 years ago

wp_cache_flush() should return immediately if the cache is disabled. If that's not working, we need to fix it in the cache, not in upgrade.php, because we will break our encapsulation of the cache.

#2 @ryan
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3465]) Cache flush improvements from Owen. fixes #2223 #2278

Note: See TracTickets for help on using tickets.