Migrating users between Wordpress installations
If you find yourself working on a forked Wordpress installation and need to migrate users from your production fork to your brand new site (based on the old fork) when putting it into production, here’s a snippet to to just that.