From ec0783f3828c933d71bc17c73085ac09a52fc9f0 Mon Sep 17 00:00:00 2001
From: Claudio Sanches
Date: Thu, 25 Jun 2015 15:17:01 -0300
Subject: [PATCH] Fixed deprecated woocommerce_lostpassword_url() and lost
password url on myaccount/form-login.php
ref #8459
---
includes/wc-deprecated-functions.php | 2 +-
templates/myaccount/form-login.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/includes/wc-deprecated-functions.php b/includes/wc-deprecated-functions.php
index 36b9926036e..11a24b9db8c 100644
--- a/includes/wc-deprecated-functions.php
+++ b/includes/wc-deprecated-functions.php
@@ -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
diff --git a/templates/myaccount/form-login.php b/templates/myaccount/form-login.php
index b25d90e48ae..b853f7cc63c 100644
--- a/templates/myaccount/form-login.php
+++ b/templates/myaccount/form-login.php
@@ -50,7 +50,7 @@ if ( ! defined( 'ABSPATH' ) ) {
-
+