[wp-trac] [WordPress Trac] #38898: Lost password form not working with plugins that rename login URL

WordPress Trac noreply at wordpress.org
Wed Mar 15 16:41:38 UTC 2017


#38898: Lost password form not working with plugins that rename login URL
---------------------------+----------------------------------------
 Reporter:  Kent Brockman  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Users          |     Version:  4.6.1
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  administration, multisite
---------------------------+----------------------------------------

Comment (by lukecavanagh):

 @jesperb

 Looks like the current line in core for wp-login.php for the lost
 password.

 https://github.com/WordPress/WordPress/blob/master/wp-login.php#L535


 {{{
 <form name="lostpasswordform" id="lostpasswordform" action="<?php echo
 esc_url( network_site_url( 'wp-login.php?action=lostpassword',
 'login_post' ) ); ?>" method="post">
 }}}

 So it will still go to the main site of the current network, not back to
 the subsite.
 https://codex.wordpress.org/Function_Reference/network_site_url

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38898#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list