Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#5592 closed enhancement (fixed)

Mass Select Users For Editing

Reported by: cpoteet's profile cpoteet Owned by: cpoteet's profile cpoteet
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch, dev-feedback
Focuses: Cc:

Description

I noticed that you can't check a checkbox and select all users in a similar way to mass editing comments/links. I went about creating this. The file contains a new JS function for the user page, I refactored a JS function, and I edited the UI for the edit users page.

Now, when a user clicks the input checkbox it will select all users in that specific role for editing (and unchecking as well).

The only thing to note is when a user adds a user the Ajax response doesn't pass in a class name (which I made the role) which the JS functions depends on. So if a user adds a user and then tries to select all users under that role then it will omit the one user from the Ajax response. I tried editing admin-ajax, but I am so sick of working on this I hope someone else can do it.

Attachments (2)

wpsvn.patch.diff (7.2 KB) - added by cpoteet 17 years ago.
Add Ability to Select Multiple Users
5592.diff (6.0 KB) - added by mdawaffe 17 years ago.
patch compatible with ajax adding

Download all attachments as: .zip

Change History (4)

@cpoteet
17 years ago

Add Ability to Select Multiple Users

@mdawaffe
17 years ago

patch compatible with ajax adding

#1 @mdawaffe
17 years ago

5592.diff

  1. Uses role ids rather than role names.
  2. Works with ajax added user rows.

#2 @ryan
17 years ago

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

(In [6570]) Mass select for users from cpoteet and mdawaffe. fixes #5592

Note: See TracTickets for help on using tickets.