Fixed deprecated woocommerce_lostpassword_url() and lost password url on myaccount/form-login.php

ref #8459
This commit is contained in:
Claudio Sanches 2015-06-25 15:17:01 -03:00
parent 0ac6b9da27
commit ec0783f382
2 changed files with 2 additions and 2 deletions

View File

@ -476,7 +476,7 @@ function woocommerce_get_endpoint_url( $endpoint, $value = '', $permalink = '' )
* @deprecated
*/
function woocommerce_lostpassword_url( $url ) {
return wc_lostpassword_url();
return wc_lostpassword_url( $url );
}
/**
* @deprecated

View File

@ -50,7 +50,7 @@ if ( ! defined( 'ABSPATH' ) ) {
</label>
</p>
<p class="lost_password">
<a href="<?php echo esc_url( wc_lostpassword_url() ); ?>"><?php _e( 'Lost your password?', 'woocommerce' ); ?></a>
<a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php _e( 'Lost your password?', 'woocommerce' ); ?></a>
</p>
<?php do_action( 'woocommerce_login_form_end' ); ?>