Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Error rows still update users database

$
0
0

Replies: 0

An import of a CSV file row with an email that matches an existing user appears to have a problem. My test data had just 4 columns – username, email, first_name and last_name. I set the “Update Existing Accounts” option to yes, because I want changes to email addresses in existing accounts to be included. The row was identified as a error, but both the password and the meta tags in the row were updated anyway. Was this what was intended?

Removing the call to wp_set_password at line 286 in importer.php would stop the password from being changed. In addition adding a test for $problematic_row around rows 382 to 497 would stop meta entries being updated for problem rows.


Viewing all articles
Browse latest Browse all 59525

Trending Articles