mirror of
git://develop.git.wordpress.org/
synced 2025-02-22 15:42:29 +01:00
While technically only `null`, `WP_User`, or `WP_Error` should be returned from the `authenticate` filter, a plugin might return boolean `false` instead, which would trigger the `authentication_failed` error prior to [57882]. This commit aims to preserve that behavior in case `false` is returned. Follow-up to [57882]. Props johnbillion. See #60700. git-svn-id: https://develop.svn.wordpress.org/trunk@57990 602fd350-edb4-49c9-b593-d223f7449a82