Skip to content

PHP error on failed authenticate #6

Open
@danielappelt

Description

@danielappelt

The first param provided in Wordpress' authenticate filter may be of type null|WP_User|WP_Error. Function check_active_user runs into an error when accessing $user->ID if the provided param is not of type WP_User.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions