Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#4293 closed defect (bug) (fixed)

site shouldn't break when wp-cache is misconfigured

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

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
19 years ago

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

+1.

#2 @rob1n
19 years ago

  • Resolution → fixed
  • Status assigned → 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.