WordPress.org

Make WordPress Core

Changeset 857


Ignore:
Timestamp:
02/09/2004 07:43:21 PM (18 years ago)
Author:
jverber
Message:

Replaced hardcoded wp_users table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r851 r857  
    209209    $user_pass = substr((MD5("time" . rand(1,16000))), 0, 6);
    210210    // now insert the new pass md5'd into the db
    211     $wpdb->query("UPDATE wp_users SET user_pass = MD5('$user_pass') WHERE user_login = '$user_login'");
     211    $wpdb->query("UPDATE $tableusers SET user_pass = MD5('$user_pass') WHERE user_login = '$user_login'");
    212212    $message  = "Login: $user_login\r\n";
    213213    $message .= "Password: $user_pass\r\n";
Note: See TracChangeset for help on using the changeset viewer.