Why the user can enter in wordpress dashboard ????
Is big secutity problem
use FluentAuth: "Disable admin bar and /wp-admin/ access for selected user roles."
I use the "Members" plugin to create roles and you can remove toolbar access to anyone who is not an admin.
Liking that one, thanks Kevin WatsonΒ
Ross FCAΒ do any of your plugins address this issue? I would love to avoid installing a plugin just to address this one thing.
add_action('after_setup_theme', 'disable_admin_bar');
function disable_admin_bar() {
if (current_user_can('administrator') ) {
show_admin_bar(true);
} else {
show_admin_bar(false);
}
}