diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 51701e787e..5ed63e539c 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -617,7 +617,7 @@ if ( ! function_exists( 'wp_authenticate' ) ) : */ $user = apply_filters( 'authenticate', null, $username, $password ); - if ( null === $user ) { + if ( null === $user || false === $user ) { /* * TODO: What should the error message be? (Or would these even happen?) * Only needed if all authentication handlers fail to return anything. diff --git a/wp-includes/version.php b/wp-includes/version.php index 24aa8e9659..e6fcc51c8e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57989'; +$wp_version = '6.6-alpha-57990'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.