d1ec5b6ac3
Hello, it's me again. A pluggable function named `wp_new_user_notification()`. A few months ago, after [33023], I have lost my second parameter `$plaintext_pass`. But thanks to [33620] I got a new one. Bad idea - It hasn't had the same behavior as my previous parameter. To solve that the second parameter got deprecated and reintroduced as the third parameter in [34116]. I was happy again, for a short time. You remember my lost friend `$plaintext_pass`? No? Well, if its value was empty no notification was sent to the user. This behavior was still lost. And that's what this change is about: Don't notify a user if a plugin uses `wp_new_user_notification( $user_id )`. You're asking if I'm happy now? Dunno, but maybe you have learned something about pluggable functions, have you? Props danielbachhuber. Fixes #34377. git-svn-id: https://develop.svn.wordpress.org/trunk@35735 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
phpunit | ||
qunit |