mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
09dccfb925
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. git-svn-id: https://develop.svn.wordpress.org/branches/4.3@34118 602fd350-edb4-49c9-b593-d223f7449a82