nickname / last_name with apostrophes truncated login name removing space
-
I’ve resolved this by deleting the records for anyone with an apostrophe in their surname and recreating.
I noticed in phpMyAdmin in the usermeta table there seemed to be an extra field (roles – which had Array in the meta_value). This might be a red herring, just thought worth mentioning.
usermeta table: nickname and last_name retained the apostrophe.
users table: user_login; apostrophe was stripped outIssue
What was happening is that when we entered a user name in the WordPress login form the space was stripped between the first and last name and then of course we then got an ‘Invalid Username’ error.We deleted anyone with an apostrophe in nickname and last_name (there were about 8 in 1,300 odd records) and then recreated their account manually without using the apostrophe anywhere and the login returned to normal.
I wonder if the single quote should have been wrapped in a double quote in the original CSV file?
- The topic ‘nickname / last_name with apostrophes truncated login name removing space’ is closed to new replies.