mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Pass $force_reauth value to the 'login_url' filter.
props jfarthing84, MikeHansenMe. fixes #31015. Built from https://develop.svn.wordpress.org/trunk@31228 git-svn-id: http://core.svn.wordpress.org/trunk@31209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8b50aef14c
commit
4e90a18c7c
@ -347,10 +347,11 @@ function wp_login_url($redirect = '', $force_reauth = false) {
|
|||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
* @param string $login_url The login URL.
|
* @param string $login_url The login URL.
|
||||||
* @param string $redirect The path to redirect to on login, if supplied.
|
* @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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-alpha-31227';
|
$wp_version = '4.2-alpha-31228';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user