Make WordPress Core

Changeset 3064


Ignore:
Timestamp:
11/13/2005 04:56:05 AM (20 years ago)
Author:
matt
Message:

Fixes #1825 again so people can't demote themselves

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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']));
Note: See TracChangeset for help on using the changeset viewer.