Make WordPress Core


Ignore:
Timestamp:
06/12/2005 11:14:52 PM (19 years ago)
Author:
matt
Message:

More user updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable-functions.php

    r2631 r2632  
    5959function get_userdatabylogin($user_login) {
    6060    global $cache_userdata, $wpdb;
    61     $user_login = addslashes( $user_login );
     61    $user_login = sanitize_user( $user_login );
    6262    if ( empty( $user_login ) )
    6363        return false;
Note: See TracChangeset for help on using the changeset viewer.