WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/01/2020 10:36:38 AM (21 months ago)
Author:
johnbillion
Message:

Docs: Use more specific types in parameter descriptions in place of mixed.

See #48303.

File:
1 edited

Legend:

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

    r47219 r47397  
    822822     * @since 4.3.0 Added the `$token` parameter.
    823823     *
    824      * @param int    $user_id  User ID.
    825      * @param bool   $remember Whether to remember the user.
    826      * @param mixed  $secure   Whether the admin cookies should only be sent over HTTPS.
    827      *                         Default is the value of is_ssl().
    828      * @param string $token    Optional. User's session token to use for this cookie.
     824     * @param int         $user_id  User ID.
     825     * @param bool        $remember Whether to remember the user.
     826     * @param bool|string $secure   Whether the auth cookie should only be sent over HTTPS. Default is an empty
     827     *                              string which means the value of `is_ssl()` will be used.
     828     * @param string      $token    Optional. User's session token to use for this cookie.
    829829     */
    830830    function wp_set_auth_cookie( $user_id, $remember = false, $secure = '', $token = '' ) {
Note: See TracChangeset for help on using the changeset viewer.