From 3973182b88076ea5c9286af6e2bf49dcd3c05dc0 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 5 Jun 2018 20:08:00 -0600 Subject: [PATCH] checkout/payment.php - Add names to nonces in template files. Reference: 9d10d107e20e20b20719236bfbfd123f15667a3d --- woocommerce/checkout/payment.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/woocommerce/checkout/payment.php b/woocommerce/checkout/payment.php index 69a0d3c..3311cf8 100644 --- a/woocommerce/checkout/payment.php +++ b/woocommerce/checkout/payment.php @@ -10,15 +10,12 @@ * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * - * @see https://docs.woocommerce.com/document/template-structure/ - * @author WooThemes - * @package WooCommerce/Templates - * @version 3.3.0 + * @see https://docs.woocommerce.com/document/template-structure/ + * @package WooCommerce/Templates + * @version 3.4.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; if ( ! is_ajax() ) { do_action( 'woocommerce_review_order_before_payment' ); @@ -52,7 +49,7 @@ if ( ! is_ajax() ) { - +