﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
18164,Users with capes don't need promote_users on their new role,nacin,nacin,"When setting your own role:
{{{
		// The new role of the current user must also have promote_users caps
		if ( $id == $current_user->ID && !$wp_roles->role_objects[$_REQUEST['new_role']]->has_cap('promote_users') ) {
			$update = 'err_admin_role';
			continue;
		}
}}}

There's no reason to prevent a super admin from demoting themselves on a site.",defect (bug),closed,normal,3.3,Network Admin,,normal,fixed,has-patch,
