From 235faf63637deddab18d2d0197202835d0e2771b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 2 Mar 2014 19:50:29 +0000 Subject: [PATCH] Additional clarification for wp_authenticate_cookie() parameters. fixes #26148. git-svn-id: https://develop.svn.wordpress.org/trunk@27354 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 6326616941..d4392cd2fa 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -162,8 +162,8 @@ function wp_authenticate_username_password($user, $username, $password) { * @since 2.8.0 * * @param WP_User|WP_Error|null $user WP_User or WP_Error object from a previous callback. Default null. - * @param string $username Username. If passed, cancels the cookie authentication. - * @param string $password Password. If passed, cancels the cookie authentication. + * @param string $username Username. If not empty, cancels the cookie authentication. + * @param string $password Password. If not empty, cancels the cookie authentication. * @return WP_User|WP_Error WP_User on success, WP_Error on failure. */ function wp_authenticate_cookie($user, $username, $password) {