woocommerce / woocommerce-gateway-paypal-express-checkout

58 stars 65 forks source link

Logging may log transactions to debug.log #830

Open jessepearson opened 3 years ago

jessepearson commented 3 years ago

Describe the bug

If logging is enabled and WP_DEBUG logging is enabled, then transactions are logged to debug.log.

https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/blob/2.1.0/includes/functions.php#L65-L67

This should be updated for security purposes.

Further discussion is here: p1603026519091300-slack-C7U3Y3VMY