input to button for submit in myaccount/form-edit-account.php template

This commit is contained in:
Gerhard Potgieter 2017-11-07 12:09:12 +02:00
parent 62c20de262
commit 86b20dd76b
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ do_action( 'woocommerce_before_edit_account_form' ); ?>
<p>
<?php wp_nonce_field( 'save_account_details' ); ?>
<input type="submit" class="woocommerce-Button button" name="save_account_details" value="<?php esc_attr_e( 'Save changes', 'woocommerce' ); ?>" />
<button type="submit" class="woocommerce-Button button" name="save_account_details" value="<?php esc_attr_e( 'Save changes', 'woocommerce' ); ?>"><?php esc_html_e( 'Save changes', 'woocommerce' ); ?></button>
<input type="hidden" name="action" value="save_account_details" />
</p>