Reset default roles and capabilities of WordPress
If you don’t want to install a plugin to just to do this one task, you can call the WordPress function directly to rebuild the roles and their capabilities.
if ( !function_exists( 'populate_roles' ) ) {
require_once(
…