Error rows still update users database
-
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.
- The topic ‘Error rows still update users database’ is closed to new replies.