From 8650365e32ecdad285f4786c85065b25528eb4a2 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Mon, 14 Nov 2016 15:19:28 -0200 Subject: [PATCH] Removed test --- includes/wc-product-functions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/wc-product-functions.php b/includes/wc-product-functions.php index 0463ccb8daf..101d0ef1c7d 100644 --- a/includes/wc-product-functions.php +++ b/includes/wc-product-functions.php @@ -247,8 +247,6 @@ function wc_delete_product_transients( $post_id = 0 ) { // Does this product have a parent? $product = wc_get_product( $post_id ); - error_log( print_r( $post_id, true ) ); - fwrite( STDERR, PHP_EOL . 'AQUI: ' . print_r( $post_id, true ) . PHP_EOL . PHP_EOL ); if ( $product->get_parent_id() > 0 ) { wc_delete_product_transients( $product->get_parent_id() ); }