Changeset 55253 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 02/07/2023 12:28:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r55239 r55253 1071 1071 * 1072 1072 * @since 4.7.4 1073 * @since 6.2.0 The `$ user_id`, `$expire`, `$expiration`, and `$token` parameters were added.1073 * @since 6.2.0 The `$expire`, `$expiration`, `$user_id`, and `$token` parameters were added. 1074 1074 * 1075 1075 * @param bool $send Whether to send auth cookies to the client. Default true. 1076 * @param int $user_id User ID. Zero when clearing cookies.1077 1076 * @param int $expire The time the login grace period expires as a UNIX timestamp. 1078 1077 * Default is 12 hours past the cookie's expiration time. Zero when clearing cookies. 1079 1078 * @param int $expiration The time when the logged-in authentication cookie expires as a UNIX timestamp. 1080 1079 * Default is 14 days from now. Zero when clearing cookies. 1080 * @param int $user_id User ID. Zero when clearing cookies. 1081 1081 * @param string $token User's session token to use for this cookie. Empty string when clearing cookies. 1082 1082 */ 1083 if ( ! apply_filters( 'send_auth_cookies', true, $ user_id, $expire, $expiration, $token ) ) {1083 if ( ! apply_filters( 'send_auth_cookies', true, $expire, $expiration, $user_id, $token ) ) { 1084 1084 return; 1085 1085 }
Note: See TracChangeset
for help on using the changeset viewer.