Make WordPress Core


Ignore:
Timestamp:
04/27/2004 05:11:05 PM (21 years ago)
Author:
emc3
Message:

Changed nickname of 'admin' to 'site admin', to avoid having duplicate values in the 'Identity' dropdown of the user profile in a fresh install.

File:
1 edited

Legend:

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

    r1148 r1189  
    737737$random_password = substr(md5(uniqid(microtime())),0,6);
    738738
    739 $query = "INSERT INTO $tableusers (ID, user_login, user_pass, user_firstname, user_lastname, user_nickname, user_icq, user_email, user_url, user_ip, user_domain, user_browser, dateYMDhour, user_level, user_aim, user_msn, user_yim, user_idmode) VALUES ( '1', 'admin', MD5('$random_password'), '', '', 'admin', '0', '$admin_email', '', '127.0.0.1', '127.0.0.1', '', '00-00-0000 00:00:01', '10', '', '', '', 'nickname')";
     739$query = "INSERT INTO $tableusers (ID, user_login, user_pass, user_firstname, user_lastname, user_nickname, user_icq, user_email, user_url, user_ip, user_domain, user_browser, dateYMDhour, user_level, user_aim, user_msn, user_yim, user_idmode) VALUES ( '1', 'admin', MD5('$random_password'), '', '', 'site admin', '0', '$admin_email', '', '127.0.0.1', '127.0.0.1', '', '00-00-0000 00:00:01', '10', '', '', '', 'nickname')";
    740740$q = $wpdb->query($query);
    741741
Note: See TracChangeset for help on using the changeset viewer.