Closed kovshenin closed 7 years ago
When something returns a WP_Error during authentication (like an invalid password), we shouldn't be trying to access ->has_cap() of that error object, but rather return it immediately.
WP_Error
->has_cap()
When something returns a
WP_Error
during authentication (like an invalid password), we shouldn't be trying to access->has_cap()
of that error object, but rather return it immediately.