From 622b4b35d6d212d25aafe09bbf23f753f1137b89 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 7 Aug 2017 17:10:36 +0100 Subject: [PATCH] Remove white space --- includes/class-wc-cache-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-cache-helper.php b/includes/class-wc-cache-helper.php index 7bbef730277..fb72f26b035 100644 --- a/includes/class-wc-cache-helper.php +++ b/includes/class-wc-cache-helper.php @@ -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(); }