Make WordPress Core


Ignore:
Timestamp:
05/24/2004 08:22:18 AM (21 years ago)
Author:
saxmatt
Message:

Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/auth.php

    r1317 r1355  
    66function veriflog() {
    77    global $cookiehash;
    8     global $tableusers, $wpdb;
     8    global $wpdb;
    99
    1010    if (!empty($_COOKIE['wordpressuser_' . $cookiehash])) {
     
    2020        return false;
    2121
    22     $login = $wpdb->get_row("SELECT user_login, user_pass FROM $tableusers WHERE user_login = '$user_login'");
     22    $login = $wpdb->get_row("SELECT user_login, user_pass FROM $wpdb->users WHERE user_login = '$user_login'");
    2323
    2424    if (!$login) {
Note: See TracChangeset for help on using the changeset viewer.