My WordPress site has gone through several membership plugins over the years and with each change I've created new custom user roles. I found out this morning through troubleshooting another problem (Thanks, Prasad K), that even though I delete a role and reassign the user to a new role that the capabilities of the prior role may remain.
For example, one of my users shows this in their wp_usermeta : 'a:2:{s:10:"subscriber";b:1;s:8:"new_lead";b:1;}'
I have not had a subscriber role for at least 4 years. Other users have many more additions that don't exist.
What’s best practice for removing these excess capabilities from users when the roles no longer exist?
Edit:
Unfortunately User Role Editor is not able to see the roles/capabilities. Both the free and paid version do not help. Any other suggestions?
Thanks
Brad