Fixed the PHPCS to reflect new rules.

This commit is contained in:
Peter Fabian 2019-12-05 16:00:18 +01:00
parent 4dfa68b62d
commit 44d39c369e
1 changed files with 1 additions and 1 deletions

View File

@ -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() ) {