function login_header( $title = 'Log In',
$message = '',
$wp_error = null
) { global $error,
$interim_login,
$action;
// Don't index any of these forms.
add_filter( 'wp_robots', 'wp_robots_sensitive_page'
);
add_action( 'login_head', 'wp_strict_cross_origin_referrer'
);
add_action( 'login_head', 'wp_login_viewport_meta'
);
if ( !
is_wp_error( $wp_error ) ) { $wp_error =
new WP_Error();
} // Shake it!
$shake_error_codes = array
( 'empty_password', 'empty_email', 'invalid_email', 'invalidcombo', 'empty_username', 'invalid_username', 'incorrect_password', 'retrieve_password_email_failure'
);
/**
* Filters the error codes array for shaking the login form.
*
* @since 3.0.0
*
* @param string[] $shake_error_codes Error codes that shake the login form.
*/