[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 Sep 12 06:43:51 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:  Future Release
Component:  Users         |     Version:  3.7
 Severity:  minor         |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:
--------------------------+-----------------------------

Comment (by ivankristianto):

 I also having similar issue with this.
 I would like to change the email message formatting, but i cannot find the
 $user_login because it is not passed.
 And the password reset url need the $key and the $user_login.

 Right now to fix this, i forcefully change it (at least for now to make it
 working, i'm sorry...):

 {{{
 $message = apply_filters( 'retrieve_password_message', $message, $key,
 $user_login );
 }}}

 i submit the patch so it is included in the future release.

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


More information about the wp-trac mailing list