Last active
May 27, 2021 14:15
-
-
Save ramsesdelr/40566f48ea58eb73177d11de945b47e2 to your computer and use it in GitHub Desktop.
Update WP user_login based on user_nicename
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_users inner join (select user_nicename, ID FROM wpxv_users ) users_2 ON wp_users.ID = users_2.ID SET user_login = users_2.user_nicename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment