[wp-trac] [WordPress Trac] #33654: wp_new_user_notification breaking change.

WordPress Trac noreply at wordpress.org
Mon Sep 14 13:02:04 UTC 2015


#33654: wp_new_user_notification breaking change.
-------------------------------+----------------------
 Reporter:  alexander.rohmann  |       Owner:  ocean90
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.3.1
Component:  Users              |     Version:  4.3
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch commit   |     Focuses:
-------------------------------+----------------------

Comment (by ocean90):

 In [changeset:"34118"]:
 {{{
 #!CommitTicketReference repository="" revision="34118"
 Passwords: Deprecate second parameter of `wp_new_user_notification()`.

 The second parameter `$plaintext_pass` was removed in [33023] and restored
 as `$notify` in [33620] with a different behavior. If you have a plugin
 overriding `wp_new_user_notification()` which hasn't been updated you
 would get a notification with your username and the password "both".
 To prevent this the second parameter is now deprecated and reintroduced as
 the third parameter.

 Adds unit tests.

 Merge of [34116] to the 4.3 branch.

 Props kraftbj, adamsilverstein, welcher, ocean90.
 See #33654.
 }}}

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


More information about the wp-trac mailing list