store users' registration time as GMT

git-svn-id: https://develop.svn.wordpress.org/trunk@925 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-02-23 14:29:55 +00:00
parent 2427485d63
commit 950a4c9ea9

View File

@ -69,7 +69,7 @@ case 'adduser':
$user_nicename = sanitize_title($user_nickname);
$user_firstname = addslashes(stripslashes($user_firstname));
$user_lastname = addslashes(stripslashes($user_lastname));
$now = current_time('mysql');
$now = gmdate('Y-m-d H:i:s');
$result = $wpdb->query("INSERT INTO $tableusers
(user_login, user_pass, user_nickname, user_email, user_ip, user_domain, user_browser, dateYMDhour, user_level, user_idmode, user_firstname, user_lastname, user_nicename)