Enhancing nocache helper

* Adding support for DONOTCACHEOBJECT
* Adding support for DONOTCACHEDB
This commit is contained in:
Alex Bain 2014-01-28 10:26:01 -08:00
parent ad17813e70
commit 49f935dd8b
1 changed files with 7 additions and 1 deletions

View File

@ -76,6 +76,12 @@ class WC_Cache_Helper {
if ( ! defined( 'DONOTCACHEPAGE' ) )
define( "DONOTCACHEPAGE", "true" );
if ( ! defined( 'DONOTCACHEOBJECT' ) )
define( "DONOTCACHEOBJECT", "true" );
if ( ! defined( 'DONOTCACHEDB' ) )
define( "DONOTCACHEDB", "true" );
nocache_headers();
}