Changeset 21911 for trunk/wp-includes/user.php
- Timestamp:
- 09/19/2012 01:35:35 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r21876 r21911 190 190 191 191 return $count; 192 }193 194 /**195 * Check that the user login name and password is correct.196 *197 * @since 0.71198 * @todo xmlrpc only. Maybe move to xmlrpc.php.199 *200 * @param string $user_login User name.201 * @param string $user_pass User password.202 * @return bool False if does not authenticate, true if username and password authenticates.203 */204 function user_pass_ok($user_login, $user_pass) {205 $user = wp_authenticate($user_login, $user_pass);206 if ( is_wp_error($user) )207 return false;208 209 return true;210 192 } 211 193
Note: See TracChangeset
for help on using the changeset viewer.