Loading wp-includes/general-template.php +7 −2 Original line number Diff line number Diff line Loading @@ -613,9 +613,14 @@ function wp_lostpassword_url( $redirect = '' ) { $args['redirect_to'] = urlencode( $redirect ); } $site_path = ''; if ( is_multisite() ) { $blog_details = get_blog_details(); $site_path = $blog_details->path . 'wp-login.php'; } $lostpassword_url = add_query_arg( $args, network_site_url( $blog_details->path . 'wp-login.php', 'login' ) ); $lostpassword_url = add_query_arg( $args, network_site_url( $site_path . 'wp-login.php', 'login' ) ); /** * Filters the Lost Password URL. Loading wp-includes/version.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * * @global string $wp_version */ $wp_version = '5.5-beta4-48672'; $wp_version = '5.5-beta4-48673'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. Loading Loading
wp-includes/general-template.php +7 −2 Original line number Diff line number Diff line Loading @@ -613,9 +613,14 @@ function wp_lostpassword_url( $redirect = '' ) { $args['redirect_to'] = urlencode( $redirect ); } $site_path = ''; if ( is_multisite() ) { $blog_details = get_blog_details(); $site_path = $blog_details->path . 'wp-login.php'; } $lostpassword_url = add_query_arg( $args, network_site_url( $blog_details->path . 'wp-login.php', 'login' ) ); $lostpassword_url = add_query_arg( $args, network_site_url( $site_path . 'wp-login.php', 'login' ) ); /** * Filters the Lost Password URL. Loading
wp-includes/version.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ * * @global string $wp_version */ $wp_version = '5.5-beta4-48672'; $wp_version = '5.5-beta4-48673'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. Loading