diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 53a8f23242..dff61669ed 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 495631ad5a..fba04efebd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.