[wp-trac] [WordPress Trac] #34281: Allow admins to send users a 'Reset Password' link

WordPress Trac noreply at wordpress.org
Sat Nov 7 23:58:07 UTC 2015


#34281: Allow admins to send users a 'Reset Password' link
-------------------------------------------------+-------------------------
 Reporter:  Ipstenu                              |       Owner:
     Type:  defect (bug)                         |  adamsilverstein
 Priority:  normal                               |      Status:  assigned
Component:  Users                                |   Milestone:  4.4
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch needs-testing has-         |  Resolution:
  screenshots needs-refresh                      |     Focuses:  javascript
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 Replying to [comment:18 wonderboymusic]:
 > you should never set values on superglobals like `$_POST` -
 `retrieve_password()` should be altered to accept data passed to it, and
 not rely exclusively on `$_POST`

 Yea, that did feel [https://core.trac.wordpress.org/ticket/34281#comment:4
 wrong], thanks for the feedback! I will refresh the patch and update the
 function to accept data instead of relying on setting $_POST.

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


More information about the wp-trac mailing list