Make WordPress Core

Ticket #26148: 26148.4.patch

File 26148.4.patch, 887 bytes (added by SergeyBiryukov, 12 years ago)
  • src/wp-includes/user.php

     
    162162 * @since 2.8.0
    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 */
    169169function wp_authenticate_cookie($user, $username, $password) {