Changeset 48674 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 07/28/2020 05:42:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r48673 r48674 614 614 } 615 615 616 $site_path = '';617 618 616 if ( is_multisite() ) { 619 $blog_details = get_blog_details(); 620 $site_path = $blog_details->path . 'wp-login.php'; 621 } 622 623 $lostpassword_url = add_query_arg( $args, network_site_url( $site_path . 'wp-login.php', 'login' ) ); 617 $blog_details = get_blog_details(); 618 $wp_login_path = $blog_details->path . 'wp-login.php'; 619 } else { 620 $wp_login_path = 'wp-login.php'; 621 } 622 623 $lostpassword_url = add_query_arg( $args, network_site_url( $wp_login_path, 'login' ) ); 624 624 625 625 /**
Note: See TracChangeset
for help on using the changeset viewer.