Fixes #1825 again so people can't demote themselves

git-svn-id: http://svn.automattic.com/wordpress/trunk@3064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-11-13 04:56:05 +00:00
parent 4e25506c93
commit c45ca605cb
1 changed files with 0 additions and 3 deletions

View File

@ -282,9 +282,6 @@ function edit_user($user_id = 0) {
$user->role = $_POST['role'];
}
if (isset ($_POST['role'])) {
$user->role = $_POST['role'];
}
if (isset ($_POST['email']))
$user->user_email = wp_specialchars(trim($_POST['email']));
if (isset ($_POST['url'])) {