From 44d39c369e20c1773692bfe0aca2d9255ed573c9 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Thu, 5 Dec 2019 16:00:18 +0100 Subject: [PATCH] Fixed the PHPCS to reflect new rules. --- includes/class-wc-form-handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-form-handler.php b/includes/class-wc-form-handler.php index e844bd47e94..620bbf72db5 100644 --- a/includes/class-wc-form-handler.php +++ b/includes/class-wc-form-handler.php @@ -340,7 +340,7 @@ class WC_Form_Handler { * Process the checkout form. */ public static function checkout_action() { - if ( isset( $_POST['woocommerce_checkout_place_order'] ) || isset( $_POST['woocommerce_checkout_update_totals'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification + if ( isset( $_POST['woocommerce_checkout_place_order'] ) || isset( $_POST['woocommerce_checkout_update_totals'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing wc_nocache_headers(); if ( WC()->cart->is_empty() ) {