`is_user_spammy()` falls back to the current user if one is not provided. There is no current user during authentication, so the result is always `false`. Pass a user to fill the void. Adds tests for `wp_authenticate_spam_check()`. Props websupporter. Fixes #36546. Built from https://develop.svn.wordpress.org/trunk@37316 git-svn-id: http://core.svn.wordpress.org/trunk@37282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
629 B
629 B