[wp-trac] Re: [WordPress Trac] #5550: ENABLE_CACHE and DISABLE_CACHE constants

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 2 08:51:27 GMT 2008


#5550: ENABLE_CACHE and DISABLE_CACHE constants
--------------------------+-------------------------------------------------
 Reporter:  Mrasnika      |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  normal        |    Milestone:           
Component:  Optimization  |      Version:  2.3.2    
 Severity:  major         |   Resolution:           
 Keywords:  cache         |  
--------------------------+-------------------------------------------------
Comment (by Mrasnika):

 Replying to [comment:1 DD32]:
 > Related: #5147 - Object cache should check if ENABLE_CACHE is TRUE (not
 false)
 >
 > {{{
 > define('ENABLE_CACHE',false)
 > }}}
 > results in the Object cache being enabled.

 Thank you. Anyway, the snippet I inserted in those methods is copied from
 the constructor of the WP_Object_Cache, and to me it seems that they are
 ambiguous.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5550#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list