user_to_edit->ID}", "ure_user_{$this->user_to_edit->ID}") .'" >'; $anchor_end = ''; } else { $anchor_start = ''; $anchor_end = ''; } $user_info = ' '.$anchor_start. $this->user_to_edit->user_login; if ($this->user_to_edit->display_name!==$this->user_to_edit->user_login) { $user_info .= ' ('.$this->user_to_edit->display_name.')'; } $user_info .= $anchor_end.''; if (is_multisite() && is_super_admin($this->user_to_edit->ID)) { $user_info .= ' '. esc_html__('Network Super Admin', 'ure') .''; } $this->display_box_start(esc_html__('Change capabilities for user', 'ure').$user_info, 'min-width:1100px;'); ?>
  get_option('caps_access_restrict_for_simple_admin', 0); if (is_super_admin() || !$this->multisite || !class_exists('User_Role_Editor_Pro') || !$caps_access_restrict_for_simple_admin) { if ($this->caps_readable) { $checked = 'checked="checked"'; } else { $checked = ''; } ?> onclick="ure_turn_caps_readable(user_to_edit->ID; ?>);" />     show_deprecated_caps) { $checked = 'checked="checked"'; } else { $checked = ''; } ?> onclick="ure_turn_deprecated_caps(user_to_edit->ID; ?>);"/>
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 '
'; } } ?>
 
show_capabilities( true, false ); ?> toolbar();?>
full_capabilities ) - count( $this->get_built_in_wp_caps() ); if ($quant>0) { echo '
'; ?>
show_capabilities( false, false ); ?>
0) ?>
display_box_end(); ?>