If you go and change the username for a WordPress user directly in the DB (the only way to do it) then you will likely run into cache issues if you use a persistent object cache like Memcached or Redis. You can see how WP stores those cache items and derive the keys from that: …
Continue reading “Changing Userlogin with a Persistent Object Cache”