show_admin_role_allowed();
// output primary role selection dropdown list
$this->user_primary_role_dropdown_list($this->user_to_edit->roles);
$values = array_values($this->user_to_edit->roles);
$primary_role = array_shift($values); // get 1st element from roles array
if (function_exists('bbp_filter_blog_editable_roles') ) { // bbPress plugin is active
?>
user_to_edit->ID);
if (!empty($bbp_user_role)) {
echo $dynamic_roles[$bbp_user_role]['name'];
}
}
?>
roles as $role_id => $role) {
if ( ($show_admin_role || $role_id!='administrator') && ($role_id!==$primary_role) ) {
if ( $this->user_can( $role_id ) ) {
$checked = 'checked="checked"';
} else {
$checked = '';
}
echo ' ';
}
}
?>
|
full_capabilities ) - count( $this->get_built_in_wp_caps() );
if ($quant>0) {
echo ' ';
?>
0)
?>
|