WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-admin/includes/template.php

    r8319 r8456  
    671671        $edit = $user_object->user_login;
    672672    }
    673     $role_name = translate_with_context($wp_roles->role_names[$role]);
     673    $role_name = $wp_roles->role_names[$role] ? translate_with_context($wp_roles->role_names[$role]) : __('None');
    674674    $r = "<tr id='user-$user_object->ID'$style>
    675675        <th scope='row' class='check-column'><input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='$role' value='{$user_object->ID}' /></th>
Note: See TracChangeset for help on using the changeset viewer.