Opened 20 years ago
Closed 19 years ago
#2278 closed defect (bug) (fixed)
When Cache manually disabled, Upgrade hangs
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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)
Change History (3)
Note: See
TracTickets for help on using
tickets.
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.