Make WordPress Core


Ignore:
Timestamp:
09/21/2022 08:22:53 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Updates and corrections to various inline docs added in 6.1.

See #55646

File:
1 edited

Legend:

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

    r54249 r54284  
    22462246         *
    22472247         * @since 2.5.0
    2248          * @since 6.1.0 Added `action` argument.
    2249          *
    2250          * @param string|int $action Optional. The current nonce action. Default -1.
     2248         * @since 6.1.0 Added `$action` argument.
     2249         *
     2250         * @param string|int $action Optional. The nonce action. Default -1.
    22512251         * @return float Float value rounded up to the next highest integer.
    22522252         */
    … …  
    22562256                 *
    22572257                 * @since 2.5.0
    2258                  * @since 6.1.0 Added `action` argument to allow for more targeted filters.
     2258                 * @since 6.1.0 Added `$action` argument to allow for more targeted filters.
    22592259                 *
    22602260                 * @param int        $lifespan Lifespan of nonces in seconds. Default 86,400 seconds, or one day.
    2261                  * @param string|int $action   The current nonce action.
     2261                 * @param string|int $action   The nonce action, or -1 if none was provided.
    22622262                 */
    22632263                $nonce_life = apply_filters( 'nonce_life', DAY_IN_SECONDS, $action );
    … …  
    22912291                         * @since 3.5.0
    22922292                         *
    2293                          * @param int    $uid    ID of the nonce-owning user.
    2294                          * @param string $action The nonce action.
     2293                         * @param int        $uid    ID of the nonce-owning user.
     2294                         * @param string|int $action The nonce action, or -1 if none was provided.
    22952295                         */
    22962296                        $uid = apply_filters( 'nonce_user_logged_out', $uid, $action );
Note: See TracChangeset for help on using the changeset viewer.