mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-07 08:01:54 +01:00
Docs: Remove a duplicate line in the send_auth_cookies
filter DocBlock.
Describe the default values for the `$send` and `$expire` parameters. Follow-up to [55164]. See #56971, #39367. Built from https://develop.svn.wordpress.org/trunk@55165 git-svn-id: http://core.svn.wordpress.org/trunk@54698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
67abe8cfb3
commit
a389692e5a
@ -1070,14 +1070,12 @@ if ( ! function_exists( 'wp_set_auth_cookie' ) ) :
|
|||||||
* Allows preventing auth cookies from actually being sent to the client.
|
* Allows preventing auth cookies from actually being sent to the client.
|
||||||
*
|
*
|
||||||
* @since 4.7.4
|
* @since 4.7.4
|
||||||
|
* @since 6.2.0 The `$user_id`, `$expire`, `$expiration`, an `$token` parameters were added.
|
||||||
*
|
*
|
||||||
* @param bool $send Whether to send auth cookies to the client.
|
* @param bool $send Whether to send auth cookies to the client. Default true.
|
||||||
* @since 6.2.0 The `$user_id`, `$expire`, `$expiration` and, `$token` parameters were added.
|
|
||||||
*
|
|
||||||
* @param bool $send Whether to send auth cookies to the client.
|
|
||||||
* @param int $user_id User ID. Zero when clearing cookies.
|
* @param int $user_id User ID. Zero when clearing cookies.
|
||||||
* @param int $expire The time the login grace period expires as a UNIX timestamp.
|
* @param int $expire The time the login grace period expires as a UNIX timestamp.
|
||||||
* Zero when clearing cookies.
|
* Default is 12 hours past the cookie's expiration time. Zero when clearing cookies.
|
||||||
* @param int $expiration The time when the logged-in authentication cookie expires as a UNIX timestamp.
|
* @param int $expiration The time when the logged-in authentication cookie expires as a UNIX timestamp.
|
||||||
* Default is 14 days from now. Zero when clearing cookies.
|
* Default is 14 days from now. Zero when clearing cookies.
|
||||||
* @param string $token User's session token to use for this cookie. Empty string when clearing cookies.
|
* @param string $token User's session token to use for this cookie. Empty string when clearing cookies.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-55164';
|
$wp_version = '6.2-alpha-55165';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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