Update woocommerce-core-functions.php