Changeset 3064

Show
Ignore:
Timestamp:
11/13/05 04:56:05 (3 years ago)
Author:
matt
Message:

Fixes #1825 again so people can't demote themselves

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/admin-functions.php

    r3042 r3064  
    283283    } 
    284284 
    285     if (isset ($_POST['role'])) { 
    286         $user->role = $_POST['role']; 
    287     } 
    288285    if (isset ($_POST['email'])) 
    289286        $user->user_email = wp_specialchars(trim($_POST['email']));