is_wp_user( $user ) ) { return false; } try { $this->get_wp_user(); return true; } catch ( User_Not_Found_Exception $e ) { return false; } } /** * @param null|WP_Error|WP_User $user * * @return bool|JSON_Response|Redirection_Response|View_Response */ protected function handle( $user ) { $this->login_support->force_ssl_admin( $this->get_user_id() ); return $this->fallback( $user ); } }