Make WordPress Core


Ignore:
Timestamp:
09/07/2005 03:16:08 AM (18 years ago)
Author:
ryan
Message:

Roles display fix from davidhouse. fixes #1660

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r2829 r2847  
    182182    foreach($userids as $userid) {
    183183        $tmp_user = new WP_User($userid);
    184         $roles = array_keys($tmp_user->roles);
     184        $roles = $tmp_user->roles;
    185185        $role = $roles[0];
    186186        $roleclasses[$role][$tmp_user->data->user_login] = $tmp_user;
Note: See TracChangeset for help on using the changeset viewer.