[wp-trac] [WordPress Trac] #13185: advanced-cache.php is @included

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 30 12:03:03 UTC 2010


#13185: advanced-cache.php is @included
--------------------------+-------------------------------------------------
 Reporter:  solarissmoke  |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  low           |   Milestone:  3.0 
Component:  Cache         |     Version:  3.0 
 Severity:  minor         |    Keywords:      
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 Rather than a file exists check, I'd suggest directing users to the
 misconfiguration problem. something like:

 {{{
 if ( false === include(cache file) ) {
   echo your site has a cache configuration problem. delete the WP_CACHE
 define in your wp-config.php file.
 }
 }}}

 alternatively, we could temporarily strip E_WARNING from error reporting.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13185#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list