Ticket #26148: 26148.4.patch
| File 26148.4.patch, 887 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/user.php
162 162 * @since 2.8.0 163 163 * 164 164 * @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. 167 167 * @return WP_User|WP_Error WP_User on success, WP_Error on failure. 168 168 */ 169 169 function wp_authenticate_cookie($user, $username, $password) {