Disable cache by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7d7b32416c
commit
6c4e7e48d2
|
@ -400,6 +400,9 @@ class WP_Object_Cache {
|
|||
if (defined('DISABLE_CACHE'))
|
||||
return;
|
||||
|
||||
if ( ! defined('ENABLE_CACHE') )
|
||||
return;
|
||||
|
||||
// Disable the persistent cache if safe_mode is on.
|
||||
if ( ini_get('safe_mode') && ! defined('ENABLE_CACHE') )
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue