mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Users: Pass correct number of arguments to send_auth_cookies
filter in wp_clear_auth_cookie()
.
Follow-up to [55164], [55253], [55259]. Props mukesh27. See #56971. Built from https://develop.svn.wordpress.org/trunk@55260 git-svn-id: http://core.svn.wordpress.org/trunk@54793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
09ec812116
commit
11d374ff97
@ -1079,6 +1079,7 @@ if ( ! function_exists( 'wp_set_auth_cookie' ) ) :
|
||||
* Default is 14 days from now. Zero when clearing cookies.
|
||||
* @param int $user_id User ID. Zero when clearing cookies.
|
||||
* @param string $scheme Authentication scheme. Values include 'auth' or 'secure_auth'.
|
||||
* Empty string when clearing cookies.
|
||||
* @param string $token User's session token to use for this cookie. Empty string when clearing cookies.
|
||||
*/
|
||||
if ( ! apply_filters( 'send_auth_cookies', true, $expire, $expiration, $user_id, $scheme, $token ) ) {
|
||||
@ -1109,7 +1110,7 @@ if ( ! function_exists( 'wp_clear_auth_cookie' ) ) :
|
||||
do_action( 'clear_auth_cookie' );
|
||||
|
||||
/** This filter is documented in wp-includes/pluggable.php */
|
||||
if ( ! apply_filters( 'send_auth_cookies', true, 0, 0, 0, '' ) ) {
|
||||
if ( ! apply_filters( 'send_auth_cookies', true, 0, 0, 0, '', '' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-55259';
|
||||
$wp_version = '6.2-alpha-55260';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user