[wp-trac] [WordPress Trac] #38334: Login: Pass the `$user_data` object as a parameter to the `lostpassword_post` hook

WordPress Trac noreply at wordpress.org
Mon Nov 18 10:13:17 UTC 2019


#38334: Login: Pass the `$user_data` object as a parameter to the
`lostpassword_post` hook
------------------------------------+--------------------------
 Reporter:  pagewidth               |       Owner:  johnbillion
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  5.4
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:
------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  good-first-bug has-patch needs-refresh => has-patch
 * owner:  (none) => johnbillion
 * status:  new => reviewing
 * milestone:  Future Release => 5.4


Comment:

 Agreed, contextual parameters passed to hooks are always preferred to
 superglobals.

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


More information about the wp-trac mailing list