[wp-trac] [WordPress Trac] #4293: site shouldn't break when wp-cache is misconfigured

WordPress Trac wp-trac at lists.automattic.com
Sat May 19 03:09:24 GMT 2007


#4293: site shouldn't break when wp-cache is misconfigured
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous
     Type:  defect             |      Status:  new      
 Priority:  normal             |   Milestone:  2.2.1    
Component:  Administration     |     Version:  2.2      
 Severity:  trivial            |    Keywords:           
-------------------------------+--------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4293>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list