Changeset 48672 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 07/28/2020 05:18:06 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/general-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r48573 r48672 606 606 */ 607 607 function wp_lostpassword_url( $redirect = '' ) { 608 $args = array(); 608 $args = array( 609 'action' => 'lostpassword', 610 ); 611 609 612 if ( ! empty( $redirect ) ) { 610 613 $args['redirect_to'] = urlencode( $redirect ); 611 614 } 612 615 613 $lostpassword_url = add_query_arg( $args, network_site_url( 'wp-login.php?action=lostpassword', 'login' ) ); 616 $blog_details = get_blog_details(); 617 618 $lostpassword_url = add_query_arg( $args, network_site_url( $blog_details->path . 'wp-login.php', 'login' ) ); 614 619 615 620 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)