Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#4293 closed defect (bug) (fixed)

site shouldn't break when wp-cache is misconfigured

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


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');


Change History (2)

#1 @rob1n
14 years ago

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


#2 @rob1n
14 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.