Last active
August 5, 2022 10:41
-
-
Save webaware/d1b51f68977d32603491 to your computer and use it in GitHub Desktop.
Clean up the mess left in WordPress users tables by WP e-Commerce, after you've removed that plugin from WordPress.
This file contains 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
delete from u, um | |
using wp_users u | |
left join wp_usermeta um on um.user_id = u.ID | |
where u.user_login like '\_%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment