Merge pull request #4013 from bernardpeh/woocommerce-master

same issue as #4005 but on different template.
This commit is contained in:
Mike Jolley 2013-10-25 14:25:22 -07:00
commit 5c67088ca1
1 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,12 @@ if (is_user_logged_in()) return;
<?php wp_nonce_field( 'woocommerce-login' ) ?>
<input type="submit" class="button" name="login" value="<?php _e( 'Login', 'woocommerce' ); ?>" />
<input type="hidden" name="redirect" value="<?php echo esc_url( $redirect ) ?>" />
<a class="lost_password" href="<?php echo esc_url( wp_lostpassword_url( home_url() ) ); ?>"><?php _e( 'Lost Password?', 'woocommerce' ); ?></a>
<label for="rememberme" class="inline">
<input name="rememberme" type="checkbox" id="rememberme" value="forever" /> <?php _e( 'Remember me', 'woocommerce' ); ?>
</label>
</p>
<p class="lost_password">
<a href="<?php echo esc_url( woocommerce_get_endpoint_url( 'lost-password', '', get_permalink( woocommerce_get_page_id( 'myaccount' ) ) ) ); ?>"><?php _e( 'Lost your password?', 'woocommerce' ); ?></a>
</p>
<div class="clear"></div>