Changeset 2451
- Timestamp:
- 03/16/2005 10:53:33 PM (20 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import-blogger.php
r2265 r2451 86 86 user_domain, 87 87 user_browser, 88 dateYMDhour,88 user_registered, 89 89 user_level, 90 90 user_idmode -
trunk/wp-admin/import-greymatter.php
r2324 r2451 94 94 } 95 95 96 $query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser, dateYMDhour,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','1','nickname')";96 $query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser,user_registered,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','1','nickname')"; 97 97 $result = mysql_query($query); 98 98 if ($result==false) { … … 153 153 $user_url=addslashes(""); 154 154 $user_joindate=addslashes($user_joindate); 155 $query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser, dateYMDhour,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','0','nickname')";155 $query = "INSERT INTO $wpdb->users (user_login,user_pass,user_nickname,user_email,user_url,user_ip,user_domain,user_browser,user_registered,user_level,user_idmode) VALUES ('$user_login','$pass1','$user_nickname','$user_email','$user_url','$user_ip','$user_domain','$user_browser','$user_joindate','0','nickname')"; 156 156 $result = mysql_query($query); 157 157 if ($result==false) { -
trunk/wp-admin/upgrade-functions.php
r2346 r2451 132 132 $wpdb->query("UPDATE $wpdb->posts SET post_modified_gmt = DATE_ADD(post_modified, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE) WHERE post_modified != '0000-00-00 00:00:00'"); 133 133 $wpdb->query("UPDATE $wpdb->comments SET comment_date_gmt = DATE_ADD(comment_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"); 134 $wpdb->query("UPDATE $wpdb->users SET user_registered = DATE_ADD( dateYMDhour, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)");134 $wpdb->query("UPDATE $wpdb->users SET user_registered = DATE_ADD(user_registered, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)"); 135 135 } 136 136
Note: See TracChangeset
for help on using the changeset viewer.