Merge pull request #922 from noelspringer/woocommerce-template-update

Update form-reset-password template for Woocommerce 3.5.5 - thx @noelspringer
This commit is contained in:
Holger 2019-02-27 09:48:45 +01:00 committed by GitHub
commit 17eb1c5b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -12,11 +12,12 @@
* *
* @see https://docs.woocommerce.com/document/template-structure/ * @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce/Templates * @package WooCommerce/Templates
* @version 3.5.1 * @version 3.5.5
*/ */
defined( 'ABSPATH' ) || exit; defined( 'ABSPATH' ) || exit;
do_action( 'woocommerce_before_reset_password_form' );
?> ?>
<form method="post" class="woocommerce-ResetPassword lost_reset_password"> <form method="post" class="woocommerce-ResetPassword lost_reset_password">
@ -47,3 +48,6 @@ defined( 'ABSPATH' ) || exit;
<?php wp_nonce_field( 'reset_password', 'woocommerce-reset-password-nonce' ); ?> <?php wp_nonce_field( 'reset_password', 'woocommerce-reset-password-nonce' ); ?>
</form> </form>
<?php
do_action( 'woocommerce_after_reset_password_form' );