Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#4293 closed defect (bug) (fixed)

site shouldn't break when wp-cache is misconfigured

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by: rob1n's profile rob1n
Milestone: 2.2.1 Priority: normal
Severity: trivial Version: 2.2
Component: Administration Keywords:
Focuses: Cc:

Description

In wp-settings, the following is called if the wp-config.php defines 'WP_CACHE':

require (ABSPATH . 'wp-content/advanced-cache.php');

When WP-Cache is misconfigured, e.g. the symblink is not created for any reason, this breaks the site.

We could safely replace this with:

@include (ABSPATH . 'wp-content/advanced-cache.php');

D.

Change History (2)

#1 @rob1n
18 years ago

  • Owner changed from anonymous to rob1n
  • Status changed from new to assigned

+1.

#2 @rob1n
18 years ago

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

(In [5491]) Don't fail when the user don't set WP-Cache up correctly. Props Denis de Bernardy. fixes #4293

Note: See TracTickets for help on using tickets.