Make WordPress Core

Opened 7 years ago

Closed 7 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)

comment:1 rob1n7 years ago

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


comment:2 rob1n7 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.