Remove white space

This commit is contained in:
Mike Jolley 2017-08-07 17:10:36 +01:00
parent baa5da8e6e
commit 622b4b35d6
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class WC_Cache_Helper {
return;
}
$page_ids = array_filter( array( wc_get_page_id( 'cart' ), wc_get_page_id( 'checkout' ), wc_get_page_id( 'myaccount' ) ) );
if ( isset( $_GET['download_file'] ) || is_page( $page_ids ) ) {
self::nocache();
}