Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1660 closed defect (bug) (fixed)

User Roles not showing in users.php [PATCH]

Reported by: davidhouse Owned by: markjaquith
Milestone: Priority: normal
Severity: minor Version: 1.6
Component: Administration Keywords: roles bg|commit bg|has-patch
Focuses: Cc:


The roles aren't showing in users.php. The code creates a load of temporary users from user IDs selected from the database, and then aggregates all their roles and displays users from that. However, a superfluous array_keys() call on the temporary user's role was causing every user to have no roles.

Attachments (1)

roles-not-showing.diff (428 bytes) - added by davidhouse 15 years ago.
1.6 patch

Download all attachments as: .zip

Change History (4)

15 years ago

1.6 patch

#1 @markjaquith
15 years ago

  • Keywords bg|commit bg|has-patch added
  • Milestone set to 1.6
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Fixes the problem.

See also #1511 for a related issue

#2 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2847]) Roles display fix from davidhouse. fixes #1660

#3 @(none)
14 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.