Woocommerce 3.0.0 Support
This commit is contained in:
parent
fea32772f0
commit
7dbc8f092e
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Lost password reset form.
|
* Lost password reset form.
|
||||||
*
|
* Updated for Understrap to maintain Woocommerce 3.0.3 compatability.
|
||||||
* This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-reset-password.php.
|
* This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-reset-password.php.
|
||||||
*
|
*
|
||||||
* HOWEVER, on occasion WooCommerce will need to update template files and you
|
* HOWEVER, on occasion WooCommerce will need to update template files and you
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
* @see https://docs.woocommerce.com/document/template-structure/
|
* @see https://docs.woocommerce.com/document/template-structure/
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 2.6.0
|
* @version 3.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) {
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
@ -30,7 +30,7 @@ wc_print_notices(); ?>
|
||||||
<label for="password_1"><?php _e( 'New password', 'understrap' ); ?> <span class="required">*</span></label>
|
<label for="password_1"><?php _e( 'New password', 'understrap' ); ?> <span class="required">*</span></label>
|
||||||
<input type="password" class="woocommerce-Input woocommerce-Input--text input-text form-control" name="password_1" id="password_1" />
|
<input type="password" class="woocommerce-Input woocommerce-Input--text input-text form-control" name="password_1" id="password_1" />
|
||||||
</p>
|
</p>
|
||||||
<p class="woocommerce-FormRow woocommerce-FormRow--last form-row form-row-last">
|
<p class="woocommerce-form-row woocommerce-form-row--last form-row form-row-last">
|
||||||
<label for="password_2"><?php _e( 'Re-enter new password', 'understrap' ); ?> <span class="required">*</span></label>
|
<label for="password_2"><?php _e( 'Re-enter new password', 'understrap' ); ?> <span class="required">*</span></label>
|
||||||
<input type="password" class="woocommerce-Input woocommerce-Input--text input-text form-control" name="password_2" id="password_2" />
|
<input type="password" class="woocommerce-Input woocommerce-Input--text input-text form-control" name="password_2" id="password_2" />
|
||||||
</p>
|
</p>
|
||||||
|
@ -42,7 +42,7 @@ wc_print_notices(); ?>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_resetpassword_form' ); ?>
|
<?php do_action( 'woocommerce_resetpassword_form' ); ?>
|
||||||
|
|
||||||
<p class="woocommerce-FormRow form-row">
|
<p class="woocommerce-form-row form-row">
|
||||||
<input type="hidden" name="wc_reset_password" value="true" />
|
<input type="hidden" name="wc_reset_password" value="true" />
|
||||||
<input type="submit" class="btn btn-outline-primary" value="<?php esc_attr_e( 'Save', 'understrap' ); ?>" />
|
<input type="submit" class="btn btn-outline-primary" value="<?php esc_attr_e( 'Save', 'understrap' ); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
Reference in New Issue