Adding new classes
Adds new classes that Woo has added to their files; global/form-login.php Line 50 removes "for" attribute, this has been changed in Woo files from 3.0;
This commit is contained in:
parent
7ea4ba781d
commit
93bea8863c
|
@ -47,7 +47,7 @@ if ( is_user_logged_in() ) {
|
||||||
<?php wp_nonce_field( 'woocommerce-login' ); ?>
|
<?php wp_nonce_field( 'woocommerce-login' ); ?>
|
||||||
<button type="submit" class="btn btn-outline-primary" name="login" value="<?php esc_attr_e( 'Login', 'understrap' ); ?>"><?php esc_html_e( 'Login', 'understrap' ); ?></button>
|
<button type="submit" class="btn btn-outline-primary" name="login" value="<?php esc_attr_e( 'Login', 'understrap' ); ?>"><?php esc_html_e( 'Login', 'understrap' ); ?></button>
|
||||||
<input type="hidden" name="redirect" value="<?php echo esc_url( $redirect ) ?>" />
|
<input type="hidden" name="redirect" value="<?php echo esc_url( $redirect ) ?>" />
|
||||||
<label for="rememberme" class="inline">
|
<label class="woocommerce-form__label woocommerce-form__label-for-checkbox inline">
|
||||||
<input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /> <span><?php esc_html_e( 'Remember me', 'understrap' ); ?></span>
|
<input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever" /> <span><?php esc_html_e( 'Remember me', 'understrap' ); ?></span>
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
|
|
Reference in New Issue