Pass $force_reauth value to the 'login_url' filter.
props jfarthing84, MikeHansenMe. fixes #31015. git-svn-id: https://develop.svn.wordpress.org/trunk@31228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3c86263afe
commit
54f366da0b
@ -349,8 +349,9 @@ function wp_login_url($redirect = '', $force_reauth = false) {
|
||||
*
|
||||
* @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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user