wp_login_failed, $user_data->login, $error
wp_login_failed, $user_data->login, $error
Appears in: jetpack.16.0.1
Hook Type: action
Displaying hooks found in version: jetpack.16.0.1do_action('wp_login_failed, $user_data->login, $error') is found 3 times:
- /jetpack_vendor/automattic/jetpack-connection/src/sso/class-sso.php line 1056
$error = new WP_Error( 'two_step_required', __( 'You must have Two-Step Authentication enabled on your WordPress.com account.', 'jetpack-connection' ) ); /** This filter is documented in core/src/wp-includes/pluggable.php */ do_action( 'wp_login_failed', $user_data->login, $error ); add_filter( 'login_message', array( Notices::class, 'error_msg_enable_two_step' ) ); return; } $user_found_with = ''; if ( isset( $user_data->external_user_id ) ) { - /jetpack_vendor/automattic/jetpack-connection/src/sso/class-sso.php line 1078
) ); /** This filter is documented in core/src/wp-includes/pluggable.php */ do_action( 'wp_login_failed', $user_data->login, $error ); add_filter( 'login_message', array( Notices::class, 'error_invalid_response_data' ) ); // @todo Need to have a better notice. This is only for the sake of testing the validation. return; } self::set_wpcom_user_id_meta( $user->ID, $user_data->ID ); } }
- /jetpack_vendor/automattic/jetpack-connection/src/sso/class-sso.php line 1307
$error = new WP_Error( 'account_not_found', __( 'Account not found. If you already have an account, make sure you have connected to WordPress.com.', 'jetpack-connection' ) ); /** This filter is documented in core/src/wp-includes/pluggable.php */ do_action( 'wp_login_failed', $user_data->login, $error ); add_filter( 'login_message', array( Notices::class, 'cant_find_user' ) ); } /** * Retrieve the admin profile page URL. */