[wp-trac] [WordPress Trac] #21352: wp_lostpassword_url() on multisite

WordPress Trac noreply at wordpress.org
Fri Oct 4 14:19:47 UTC 2013


#21352: wp_lostpassword_url() on multisite
--------------------------+------------------
 Reporter:  philly max    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Multisite     |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by nacin):

 In order to do this, wp_lostpassword_url() should probably gain a $user
 parameter. Otherwise this function goes from being a utility function to
 one that uses global scope.

 Imagine a plugin that, at a super admin's request, sends a lost password
 email to a user. The primary site of the super admin would be used, which
 would be incorrect.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/21352#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list