Networks and Sites: Replace get_blog_details with get_site.

Replace usage of the function get_blog_details with more lightweight get_site. 

Props spacedmonkey, kapilpaul, flixos90.
Fixes #57571.

git-svn-id: https://develop.svn.wordpress.org/trunk@55515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonny Harris
2023-03-10 15:47:43 +00:00
parent befb493339
commit 4af22e53d7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ function wp_lostpassword_url( $redirect = '' ) {
}
if ( is_multisite() ) {
$blog_details = get_blog_details();
$blog_details = get_site();
$wp_login_path = $blog_details->path . 'wp-login.php';
} else {
$wp_login_path = 'wp-login.php';