From 18e352dc07119ca6290084cab979350248e2180c Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 5 Jun 2018 20:18:51 -0600 Subject: [PATCH] myaccount/form-edit-address.php - Add names to nonces in template files Reference: 9d10d107e20e20b20719236bfbfd123f15667a3d --- woocommerce/myaccount/form-edit-address.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/woocommerce/myaccount/form-edit-address.php b/woocommerce/myaccount/form-edit-address.php index edfb325..ad43c3e 100644 --- a/woocommerce/myaccount/form-edit-address.php +++ b/woocommerce/myaccount/form-edit-address.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 + * @see https://docs.woocommerce.com/document/template-structure/ * @package WooCommerce/Templates - * @version 3.3.0 + * @version 3.4.0 */ -if ( ! defined( 'ABSPATH' ) ) { - exit; -} +defined( 'ABSPATH' ) || exit; $page_title = ( 'billing' === $load_address ) ? __( 'Billing address', 'understrap' ) : __( 'Shipping address', 'understrap' ); @@ -50,7 +47,7 @@ do_action( 'woocommerce_before_edit_account_address_form' ); ?>

- +