Make WordPress Core


Ignore:
Timestamp:
06/13/2007 04:27:03 PM (17 years ago)
Author:
ryan
Message:

Add sanitize_user()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/pluggable.php

    r5668 r5695  
    224224function wp_login($username, $password, $already_md5 = false) {
    225225    global $wpdb, $error;
     226
     227    $username = sanitize_user($username);
    226228
    227229    if ( '' == $username )
Note: See TracChangeset for help on using the changeset viewer.