diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 51cc66bb23..6872a01dd0 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -347,10 +347,11 @@ function wp_login_url($redirect = '', $force_reauth = false) { * * @since 2.8.0 * - * @param string $login_url The login URL. - * @param string $redirect The path to redirect to on login, if supplied. + * @param string $login_url The login URL. + * @param string $redirect The path to redirect to on login, if supplied. + * @param bool $force_reauth Whether to force reauthorization, even if a cookie is present. */ - return apply_filters( 'login_url', $login_url, $redirect ); + return apply_filters( 'login_url', $login_url, $redirect, $force_reauth ); } /**