Merge pull request #6591 from SiR-DanieL/patch-1

Avoid notice errors with W3 Total Cache
This commit is contained in:
Mike Jolley 2014-10-22 09:39:55 +01:00
commit bb7f5800f5
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class WC_Cache_Helper {
$config = w3_instance('W3_Config');
$enabled = $config->get_integer( 'dbcache.enabled' );
$settings = $config->get_array( 'dbcache.reject.sql' );
$settings = array_map( 'trim', $config->get_array( 'dbcache.reject.sql' ) );
if ( $enabled && ! in_array( '_wc_session_', $settings ) ) {
?>