[wp-trac] [WordPress Trac] #25853: Changeset 25696 breaks expected value of argument sent to filter 'retrieve_password_message'

WordPress Trac noreply at wordpress.org
Fri Nov 14 22:25:43 UTC 2014


#25853: Changeset 25696 breaks expected value of argument sent to filter
'retrieve_password_message'
--------------------------+------------------
 Reporter:  dcavins       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.1
Component:  Users         |     Version:  3.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-docs    |     Focuses:
--------------------------+------------------

Comment (by dcavins):

 I've attached a new patch. In it, I added `$user_login` and `$user_data`
 (the WP_User object) to the filter. It made sense to add the login for
 parity with the earlier filters in this function: `retrieve_password` and
 `retrieve_password_key`, but I also liked @nacin's suggestion of sending
 the WP_User object, because that covers all the bases.

 Thanks!

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


More information about the wp-trac mailing list