Ticket #1825: admin-functions.php.2.patch

File admin-functions.php.2.patch, 433 bytes (added by ringmaster, 7 years ago)

Oops. Need to remove some leftovers.

  • admin-functions.php

     
    282282                        $user->role = $_POST['role']; 
    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'])); 
    290287        if (isset ($_POST['url'])) {