Make WordPress Core


Ignore:
Timestamp:
01/31/2023 12:16:23 PM (18 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r55164 r55165  
    10711071         *
    10721072         * @since 4.7.4
    1073          *
    1074          * @param bool $send Whether to send auth cookies to the client.
    1075          * @since 6.2.0 The `$user_id`, `$expire`, `$expiration` and, `$token` parameters were added.
    1076          *
    1077          * @param bool   $send       Whether to send auth cookies to the client.
     1073         * @since 6.2.0 The `$user_id`, `$expire`, `$expiration`, an `$token` parameters were added.
     1074         *
     1075         * @param bool   $send       Whether to send auth cookies to the client. Default true.
    10781076         * @param int    $user_id    User ID. Zero when clearing cookies.
    10791077         * @param int    $expire     The time the login grace period expires as a UNIX timestamp.
    1080          *                           Zero when clearing cookies.
     1078         *                           Default is 12 hours past the cookie's expiration time. Zero when clearing cookies.
    10811079         * @param int    $expiration The time when the logged-in authentication cookie expires as a UNIX timestamp.
    10821080         *                           Default is 14 days from now. Zero when clearing cookies.
Note: See TracChangeset for help on using the changeset viewer.