Changed nickname of 'admin' to 'site admin', to avoid having duplicate values in the 'Identity' dropdown of the user profile in a fresh install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a408aaca5d
commit
f535954c3e
|
@ -736,7 +736,7 @@ $q = $wpdb->query($query);
|
|||
|
||||
$random_password = substr(md5(uniqid(microtime())),0,6);
|
||||
|
||||
$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')";
|
||||
$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')";
|
||||
$q = $wpdb->query($query);
|
||||
|
||||
// Do final updates
|
||||
|
|
Loading…
Reference in New Issue