Make WordPress Core

Changeset 27354


Ignore:
Timestamp:
03/02/2014 07:50:29 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Additional clarification for wp_authenticate_cookie() parameters.

fixes #26148.

File:
1 edited

Legend:

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

    r27353 r27354  
    163163 *
    164164 * @param WP_User|WP_Error|null $user     WP_User or WP_Error object from a previous callback. Default null.
    165  * @param string                $username Username. If passed, cancels the cookie authentication.
    166  * @param string                $password Password. If passed, cancels the cookie authentication.
     165 * @param string                $username Username. If not empty, cancels the cookie authentication.
     166 * @param string                $password Password. If not empty, cancels the cookie authentication.
    167167 * @return WP_User|WP_Error WP_User on success, WP_Error on failure.
    168168 */
Note: See TracChangeset for help on using the changeset viewer.