Lost password link

This commit is contained in:
Mike Jolley 2011-10-12 11:18:41 +01:00
parent 4991bf75e2
commit 9a50482bd6
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@ if (!function_exists('woocommerce_login_form')) {
<p class="form-row">
<?php $woocommerce->nonce_field('login', 'login') ?>
<input type="submit" class="button" name="login" value="<?php _e('Login', 'woothemes'); ?>" />
<a class="lost_password" href="<?php echo esc_url( home_url('wp-login.php?action=lostpassword') ); ?>"><?php _e('Lost Password?', 'woothemes'); ?></a>
<a class="lost_password" href="<?php echo esc_url( wp_lostpassword_url( home_url() ) ); ?>"><?php _e('Lost Password?', 'woothemes'); ?></a>
</p>
</form>
<?php