From c3331ff416e9741ecb7b99582fbdc00268dc67a3 Mon Sep 17 00:00:00 2001 From: claudiulodro Date: Wed, 19 Apr 2017 10:00:00 -0700 Subject: [PATCH] Remove unused variable --- includes/class-wc-post-data.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/class-wc-post-data.php b/includes/class-wc-post-data.php index dc04578b35c..2c3b2f9c2a8 100644 --- a/includes/class-wc-post-data.php +++ b/includes/class-wc-post-data.php @@ -420,7 +420,6 @@ class WC_Post_Data { if ( $variation_id ) { $product_id = $variation_id; } - $product = wc_get_product( $product_id ); $data_store = WC_Data_Store::load( 'customer-download' ); if ( $downloads ) {